Help:Template reference: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>@DeletedUser40283073
>@DeletedUser40283073
Line 44: Line 44:
{{Arcref|THE_ARCANA_NUMBER_OR_END_BIT_OF_THE_URL,_E.G._1|ARTICLE'S TITLE|DATE}}
{{Arcref|THE_ARCANA_NUMBER_OR_END_BIT_OF_THE_URL,_E.G._1|ARTICLE'S TITLE|DATE}}


===[[Template:Featref|Featref]]===
===[[Template:Featref|Featref]] & [[Template:Featref2|Featref2]]===
''For feature articles '''only'''.''<BR>
''For feature articles '''only'''.''<BR>
<nowiki>{{Featref|THE_END_BIT_OF_THE_URL,_E.G._mr1|ARTICLE'S TITLE|AUTHOR OF ARTICLE|DATE}}</nowiki>
<nowiki>{{Featref|THE_END_BIT_OF_THE_URL,_E.G._mr1|ARTICLE'S TITLE|AUTHOR OF ARTICLE|DATE}}</nowiki>

Revision as of 12:55, 8 October 2008

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 and related

When using these templates, please make sure that:

  • The link to the article is correct;
  • All parameters are filled-in;
  • The date is the date that appears in the top-right corner of the article.

Cquote

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

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

Arcref

For Arcana articles only.
{{Arcref|THE_ARCANA_NUMBER_OR_END_BIT_OF_THE_URL,_E.G._1|ARTICLE'S TITLE|DATE}}

Template:Arcref

Featref & Featref2

For feature articles only.
{{Featref|THE_END_BIT_OF_THE_URL,_E.G._mr1|ARTICLE'S TITLE|AUTHOR OF ARTICLE|DATE}}

Template:Featref

MTGref

For daily columns only.
{{MTGref|THE_END_BIT_OF_THE_URL,_E.G._mr1|ARTICLE'S TITLE|AUTHOR OF ARTICLE|DATE}}

Template:MTGref

Askref

For Ask Wizard
{{Askref|month|day|year}}

Template:Askref

SCGref

For StarCityGames.com articles
{{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]

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