Jump to content

User:GenQuest/templates

From Wikipedia, the free encyclopedia
Skip to top
Skip to bottom
Link=Wikipedia:Project Merge
Link=Wikipedia:Project Merge
* Shortcut to Official Wikipedia Comprehensive Editing Cheatsheet


Adding Notes (as opposed to References)

[edit]
To be placed at spot of cited content*

{{efn|~put note text here~}}


To be placed at the end of the article:

==Notes==
{{notelist}}


  • this template allows internal reference placement within note text


-or-
To be placed at spot of cited content

<ref group=notes name={name}>

To be placed at the end of the article:

==Notes==
{{Reflist|group=notes}}

No space

[edit]

{{nowrap}} e.g. {{nowrap|8 sq ft}}


G.O.C.E. major edit temporary placement template(s)

[edit]

{{Nobots}}{{GOCEinuse}}


Common Templates

[edit]

Colored replies

{{tq|Isn't this right?}} : {{tq| }} 

gives:

Isn't this right?


{{!xt|Isn't this wrong?}} : {{!xt| }} 

gives:

Isn't this wrong?


Age template(s)

[edit]

{{Age in years, months and days| year=1977| month=09| day=07}} as of today ({{date}}),

gives:

Is 47 years, 2 months and 25 days old as of today (2 December 2024),

Article name with stats

[edit]

{{la|~article name~}}

Quick citation templates

[edit]
Articles
  • {{Citation | last=| first=| year=| title=| publisher=| publication-place=| page=| url=| accessdate= }}
  • {{Cite web | url=| title=| author=Staff <!-- no by-line -->| date=| website=| publisher=| accessdate= }}
  • {{cite book | last=| first=| authorlink=| title=| url=| accessdate=| year=| publisher=| location=| isbn=| page= }}
  • {{Cite news | title=| author=| url=| newspaper=| date=| accessdate= }}


Columnize

[edit]

{{cols|rules=no}}
{{colend}}


{{cols|rules=yes}}
{{colend}}

("rules=yes" gives a column separator-line for indexed/indented lists)


Default Sort

[edit]

{{DEFAULTSORT:article subject}}


Set List

[edit]

(install as a footer template to article)

{{list of lists | [character/events/etc] |~project~ }}


Inflation calculator

[edit]

(${{formatnum:{{Inflation|US|200|1865}}}} as at {{CURRENTYEAR}})


Self-published In-line notice banner

[edit]

{{Self-published inline|certain={yes no}|date={month year}}

"See Also" & "External Links" reduction notice

[edit]

<!--NOTE: The following list needs to be be reduced by incorporating items into the body of the article, per "Wikipedia:See also". [[wp:See also|You Can Help!]] -->

OR

<!-- =============== {{No more links}} ================ PLEASE BE CAUTIOUS IN ADDING MORE LINKS TO THIS ARTICLE. Wikipedia is not a collection of links nor should it be used for advertising. Excessive or inappropriate links WILL BE DELETED. See [[Wikipedia:External links]] & [[Wikipedia:Spam]] for details. If there are already plentiful links, please propose additions or replacements on this article's discussion page, or submit your link to the relevant category at the Open Directory Project (dmoz.org) and link back to that category using the {{dmoz}} template. Editors should also attempt to integrate these links into the article body per [[wp:MoS]] =============== {{No more links}} =============== -->


TalkPage notice for UnReliables

[edit]

Find A Grave, ODMP, Rootsweb, IMdB, etc. are forum-based sites. These are edited by anyone (similar to Wikipedia) and contain huge amounts of non-vetted, unscholarly additions which have no editor oversight. Therefore, such sites are considered wholly non-reliable by Wikipedia policy of referencing and citing. Please stop your additions to articles based entirely on information gleaned from such sites. Thank you. ~~~~

If this is a shared IP address, and you did not make the edits, consider creating an account for yourself, so you can avoid further irrelevant notices.
[edit]

<!--Notability is established in wiki-lists by inclusion in Wikipedia of a referenced subject article. (Write the article first.)-->

[edit]
[edit]

<gallery widths="200px" heights="200px" perrow="3">
</gallery>


Horizontal alignment

[edit]

<gallery mode="packed-hover" class="center" widths="190" heights="160" text="" align:"left"="" perrow="4" "="" caption="Hover over pictures to view the E20 Photo Collage (west to east)''>
File:.jpg|Picture 1
File:.jpg|Picture 2
File:.jpg|Picture 3
File:.jpg|Picture 4
</gallery>


GIVES (another example)
{SCROLL OVER):
[edit]


Multiple images

[edit]
.
{{multiple image

| align={left / center / right}
| direction = {horizontal / vertical}
| total_width = 330
| caption_align = center
| image1 = Haring 03.jpg
| image2 = Great white Dyer island 2010-07.jpg
| caption1 = Man eating fish
| caption2 = Man-eating fish
| footer = Your text here
}}


{{multiple image
<!-- Essential parameters -->
| align = right
| direction = vertical
| width = 250
<!-- Image 1 -->
| image1 =
| alt1 =
| caption1 =
<!-- Image 2 -->
| image2 =
| alt2 =
| caption2 =
}}


GIVES (examples):
Steve and Charlie Utter at "Wild Bill" Hickok's grave, photograph date unknown
1891 Hickok monument
Man eating fish
Man-eating fish
Why hyphens matter

Speedy D

[edit]

{{speedy deletion-~reason~|article=~name~)}}

  • Reasons:
    • {{BLP unsourced}}
    • {{Duplicate article}}


Boxes

[edit]

Archive box

[edit]

<!--Template:Archivebox begins--><br>
# [[Talk:~article~/Archive_#|~archive name~]]<!-- such as "2004–2006"; "1"; "one"; etc.--><br>
</div><!--Template:Archivebox ends--></br>

Example:
{{archivebox|search=yes|[[/Archive 1|Archive up to and including 2010]]<br>[[/Archive 2|Archive up to and including 2012]]}}


[edit]

{{Navboxes
|title=Related articles
|list1=
{{Template A|expanded=CTCBS}}
{{Template B}}
}}

gives


Quote Box

[edit]

{{Quote box |quoted=true |bgcolor=#ADD8E6|width=32em |align=left| quote= {text replace} }}

gives

Now is the time for all good men to come to the aid of his country...zjq


Tag-style Box

[edit]

{{ambox|type=content|text= test text here. }}

-gives-

Over-flow Box

[edit]

<div style="height: 75px;width: 450px; overflow:auto; border: thick solid orange; background: #eeccee">

</div>

-gives-

Talk Page

[edit]

Talk/comment back-arrow

[edit]

:{{od|7}} (<=adjust number per dialogue indents)

Archive Bot

[edit]

{{User:MiszaBot/config
|archive = Talk:{page name here (with no brackets)}/Archive %(counter)d
|algo = old(14d)
|counter = 1
|maxarchivesize = 150K
|minthreadsleft = 1
|minthreadstoarchive = 5
|archiveheader =
|key =
}}

Copy as is; change size, minimum threads-left count, and day counter as you want.  Add the article name.  

Article Deletion by Redirect after Merger

[edit]


<!--Template begin-->
It appears that your [[Wikipedia:Redirect|edit]] of //date//, (//edit summary details//) unilaterally [[Wikipedia:Deletion policy#Deletion discussion|erased]] a [[Wikipedia:Reliable source|reliably sourced]] Wikipedia article, [[~article name~]]. Please use [[Wikipedia:Deletion by redirection|caution]] and review the [[Wikipedia:Merging|steps to merging two articles]] prior to making any edit which may delete uniquely sourced article content.

If you need help in the completion of [[Wikipedia:Merge|a merger]] in the future, please feel free to contact me. Thank you, ~~~~
<!--Template end-->


Possible additions to above


Please refrain from doing so again, as this could be considered [[Wikipedia:Vandalism|vandalism]].

If you need future help in the completion of [[Wikipedia:Merge|a merger]], please feel free to contact me. Thank you, ~~~~
<!--Template end-->

Table creation, sortable

[edit]

To un-Bold column titles, replace the leading header exclamation points ("!") with a pipe ("|"); Number of modifiers in "records" section must equal number modifiers in "header" section; "Table Legend" may go above or below the table; remove comment markups ("<!-- {comment} -->").

  • This template:

:<center>'''<small>Table Legend:''' {''legend/key if needed''}
</small></center>
<!-- begin Header section -->
{| class="wikitable sortable"
! identifier
! modifier 1
! modifier 2
! modifier 3
! modifier 4 <!-- add additional modifiers as needed. -->
|-- <!-- end Header section / begin Records section -->
|-
| {identifierA}
| {modifier 1}
| {modifier 2}
| {modifier 3}
| {modifier 4} <!-- add additional modifiers as needed. -->
|- <!-- this is record (identifier) break-point; one goes between each entry in the table, followed by the next identifier with its appropriate number of modifiers. -->
|-- <!-- end Records section -->
|}<!-- end table. -->


  • Outputs the following table style:


Table Legend: {legend/key if needed}
identifier modifier 1 modifier 2 modifier 3 modifier 4
{identifierA} {modifier 1} {modifier 2} {modifier 3} {modifier 4}


Tree lists

[edit]

For use in infobox; use without the "small" tags for article body.

<small>{{tree list}}
*[[example1]]
**[[exampl1-sub1]] (1861)
**[[example1-sub2]] (1862)
**[[example1-sub3]] (1863)
*[[example2]] (1863)
**[[example2-sub1]] (1863)
**[[example2-sub2]] (1863)
**{{tree list/final branch}}[[example2-sub3] (1865)
{{tree list/end}}</small>


Gives (a typical example):



Add Counter to .js file

[edit]
1) Go to (copy/paste):
https://en.wikipedia.org/wiki/User:[your name]/common.js
2) Replace with your name at placeholder without the [ ]
3) Add the following (copy/paste) to the next open line of text you'll see:
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
4) Save.

TOCs

[edit]

Side-by-side for (alphabetizing)

[edit]


{{compactTOC8| side=yes| extlinks=no| nobreak=yes}}

==A==
==B==
==C==
etc.

Force TOC

[edit]


__ForceTOC__


TOC on right

[edit]


{{TOCRIGHT}}


[edit]

https://edwardbetts.com/find_link/

Locks

[edit]
quick copy:

|url-access=subscription | gives the red lock icon

Test area

[edit]
  • YouBetch'a Thumbs up icon
  1. Orz... ...or-maybe...
  2. meh
  3. 😢
  4. 😊
  5. ☀
  6. o_O
  7. X-)
  8. B)
  9. ^_^
  10. ???
  11. 👍 Like Like!

¯\_(ツ)_/¯

Big thumbs up
♦♦♦--->
💬
📧

https://en.wikipedia.org/w/index.php?title=User%3ARadicalOne%2FUBXDesign%2FWetTrout&type=revision&diff=336702117&oldid=336526048

list of color hex codes

{{EngvarB|date=}}
{{Columns-list| }}