Help:Template reference: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Hunterofsalvation
(→‎Prodpage: produces dead links)
>Yandere-sliver
Line 67: Line 67:
{{fact}}
{{fact}}


===[[Template:PROD|PROD]] — Proposed article for deletion===
===[[Template:Delete|Delete]] — Proposed article for deletion===
<nowiki>{{PROD|TYPE REASON HERE}}</nowiki>
<nowiki>{{Delete|TYPE REASON HERE}}</nowiki>
{{PROD|TYPE REASON HERE}}
{{Delete|TYPE REASON HERE}}


===[[Template:Rewrite|Rewrite]]===
===[[Template:Rewrite|Rewrite]]===

Revision as of 00:59, 11 February 2017

This is a template reference that documents the templates used on this wiki. Each entry has consists of a short code example followed by the corresponding output. Usually there is more detailed information on the individual template pages.

Some frequently used templates that do not need parameters are listed in Help:Cheatsheet.

MTG product templates

Cardlist

{{Cardlist|SET URL|SET NAME}}

e.g. {{Cardlist|lorwyn|Lorwyn}}
Template:Cardlist

Deckpage

{{Deckpage|MTG.com's code for the set (check URL)|Deck number (check URL)|Set name|Deck name}}

e.g. {{Deckpage|lorwyn|4|Lorwyn|Merrow Riverways}}

Lorwyn Theme Deck: Merrow RiverwaysWizards of the Coast

Decks

see template page for detailed explanation

Referencing templates

Referencing and standardized referencing are important. As such, please use these templates.

When using these templates, please ensure that the link to the article is faithful and correct; that all relevant parameters are filled-in; and the date is the date of publication, not the date of access.

Cquote

{{Cquote|Insert the text of the quote here, without quotation marks.}}

“  Insert the text of the quote here, without quotation marks.  ”

NewRef

For all newer articles on http://www.dailymtg.com.

{{NewRef|The part of the URL following /en/articles/archive/|Title|Author(s)|Date}}

TumblrRef

For all content on Tumblr.

{{TumblrRef|author=...|URL=http://...|title=title of the thread or Webpage|tumblr-title=the title of the Tumblr|date=date of creation}}

DriveRef

For referencing episodes of Drive to Work.

{{DriveRef|URL following http://media.wizards.com/podcasts/magic/|episode number|title of podcast|transcript URL following http://dtwtranscripts.blogspot.com/ (if available)}}

MTGSRef

For all content on MTGS.

{{MTGSRef|author=John Doe|date=January 1, 2001 (optional)|URL=http://... (the entire URL)|title=thread or Webpage name}}

SCGref

For all articles on StarCityGames.com.

{{SCGref|THE_END_BIT_OF_THE_URL|ARTICLE'S TITLE|AUTHOR OF ARTICLE|DATE}}

Template:SCGref

Maintainance

Cleanup

{{cleanup|date=IN WORDS, DD MM, YYYY}}


Expand

{{Expand}}


Fact — Fact, or "Fact"?

{{fact}}

[citation needed]

Delete — Proposed article for deletion

{{Delete|TYPE REASON HERE}}

Rewrite

{{Template:Rewrite|REASON IF NECESSARY/DESIRED|DATE=IN WORDS, DD MM, YYYY}}


Dead Link

Use {{dead link}} to denote a link that is dead, doesn't have an archived version (e.g. via http://archive.org), and needs replacement.

Miscellaneous

Test

{{Test}} Lua error in Module:Test at line 552: No lookup provided.

TOCleft and TOCright

These templates "force" a table of contents (which can be "forced" by entering __TOC__ anywhere in an article; it appear roughly in the same area as it is entered) to appear, aligned left and right respectively.

Usertalk header bar

{{Usertalkhead}} Template:Usertalkhead

Wrong title

{{Wrongtitle|CORRECT NAME HERE}} Template:Wrongtitle