Help:Template reference: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>@DeletedUser40376198
>@DeletedUser40376198
Line 84: Line 84:
<nowiki>{{Template:Rewrite|REASON IF NECESSARY/DESIRED|DATE=IN WORDS, DD MM, YYYY}}</nowiki>
<nowiki>{{Template:Rewrite|REASON IF NECESSARY/DESIRED|DATE=IN WORDS, DD MM, YYYY}}</nowiki>
{{Template:Rewrite|REASON IF NECESSARY/DESIRED|DATE=IN WORDS, DD MM, YYYY}}
{{Template:Rewrite|REASON IF NECESSARY/DESIRED|DATE=IN WORDS, DD MM, YYYY}}
===[[Template:DeadLink|DeadLink]]===
Use <code><nowiki>{{DeadLink}}</nowiki></code> to denote a link that is dead and needs replacement.


==Miscellaneous==
==Miscellaneous==

Revision as of 15:14, 3 September 2014

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 older articles on archive.wizards.com.

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

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]

PROD — Proposed article for deletion

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

Rewrite

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


DeadLink

Use {{DeadLink}} to denote a link that is dead 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