User:GenQuest/templates
This is a Wikipedia user page. This is not an encyclopedia article or the talk page for an encyclopedia article. If you find this page on any site other than Wikipedia, you are viewing a mirror site. Be aware that the page may be outdated and that the user in whose space this page is located may have no personal affiliation with any site other than Wikipedia. The original page is located at https://en.wikipedia.org/wiki/User:GenQuest/templates. |
![Link=Wikipedia:Project Merge](http://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Wikipedia_logo_puzzle_globe_spins_horizontally_and_vertically%2C_revealing_the_contents_of_all_of_its_puzzle_pieces.gif/80px-Wikipedia_logo_puzzle_globe_spins_horizontally_and_vertically%2C_revealing_the_contents_of_all_of_its_puzzle_pieces.gif)
* Shortcut to Official Wikipedia Comprehensive Editing Cheatsheet
Adding Notes (as opposed to References)
- 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
{{nowrap}} e.g. {{nowrap|8 sq ft}}
G.O.C.E. major edit temporary placement template(s)
{{Nobots}}{{GOCEinuse}}
Common Templates
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)
{{Age in years, months and days| year=1977| month=09| day=07}} as of today ({{date}}),
gives:
Is 46 years, 11 months and 20 days old as of today (27 August 2024),
Article name with stats
{{la|~article name~}}
Quick citation templates
- 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
{{cols|rules=no}}
{{colend}}
{{cols|rules=yes}}
{{colend}}
- ("rules=yes" gives a column separator-line for indexed/indented lists)
Default Sort
{{DEFAULTSORT:article subject}}
Set List
(install as a footer template to article)
{{list of lists | [character/events/etc] |~project~ }}
Inflation calculator
(${{formatnum:{{Inflation|US|200|1865}}}} as at {{CURRENTYEAR}})
Self-published In-line notice banner
{{Self-published inline|certain={yes no}|date={month year}}
"See Also" & "External Links" reduction notice
<!--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
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.
Notability: Note for removing RED-LINKS from LISTs and LIST articles
<!--Notability is established in wiki-lists by inclusion in Wikipedia of a referenced subject article. (Write the article first.)-->
Gallery
Picture Gallery
<gallery widths="200px" heights="200px" perrow="3">
</gallery>
Horizontal alignment
<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):
Gallery
- Hover over pictures to view the E20 Photo Collage (west to east)
-
The M62 passes Scammonden Reservoir in West Yorkshire
-
E20 next to the Copenhagen Airport
-
-
On Øresund Bridge
-
-
Multiple images
| 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):
Speedy D
{{speedy deletion-~reason~|article=~name~)}}
- Reasons:
- {{BLP unsourced}}
- {{Duplicate article}}
Boxes
Archive box
<!--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]]}}
Nav Box
{{Navboxes
|title=Related articles
|list1=
{{Template A|expanded=CTCBS}}
{{Template B}}
}}
gives
Quote Box
{{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
{{ambox|type=content|text= test text here. }}
-gives-
![]() | test text here. |
Over-flow Box
<div style="height: 75px;width: 450px; overflow:auto; border: thick solid orange; background: #eeccee">
</div>
-gives-
- test
- test
Talk Page
Talk/comment back-arrow
:{{od|7}} (<=adjust number per dialogue indents)
Archive Bot
{{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
<!--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
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
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):
- American Civil War
- Engagement at Fredericktown (1861)
- Battle of Cotton Plant (1862)
- Battle of Port Gibson (1863)
- Trans-Missippi campaign (1863)
- Jackson Expedition (1863)
- Battle of Fort Esperanza (1863)
- Battle of Spanish Fort (1865)
Add Counter to .js file
- 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
Side-by-side for (alphabetizing)
{{compactTOC8| side=yes| extlinks=no| nobreak=yes}}
- ==A==
- ==B==
- ==C==
- etc.
Force TOC
- __ForceTOC__
TOC on right
{{TOCRIGHT}}
links
https://edwardbetts.com/find_link/
Locks
- quick copy:
|url-access=subscription | gives the red lock icon
Test area
- ♦♦♦--->
- 💬
- 📧
- {{EngvarB|date=}}
- {{Columns-list| }}
√