Help:Template reference

From MTG Wiki
Revision as of 12:13, 11 January 2014 by >@DeletedUser40376198 (→‎MTGSRef)
Jump to navigation Jump to search

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

Prodpage

{{Prodpage|SET URL|SET NAME}}

e.g. {{Prodpage|lorwyn|Lorwyn}}
Lorwyn product information pageWizards of the Coast

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

Theme 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.  ”

DailyRef

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

{{DailyRef|The part of the URL following Article.aspx?x=|Title|Author(s)|Date}}

See template page for details.

SCGref

For all articles on StarCityGames.com.

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

Template:SCGref

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}}

TumblrRef

Main article: Template: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}}

Maintainance

Cleanup

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


Expand

{{Expand}}


Fact — Fact, or "Fact"?

{{fact}}

[citation needed]

PROD — Proposed article for deletion

{{PROD|TYPE REASON HERE}} Template:PROD

Rewrite

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


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