Help:Template reference: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>@DeletedUser40376198
No edit summary
>@DeletedUser40376198
Line 55: Line 55:
<code><nowiki>{{MTGSRef|author=John Doe|date=January 1, 2001 (optional)|URL=http://... (the entire URL)|title=thread or Webpage name}}</nowiki></code>
<code><nowiki>{{MTGSRef|author=John Doe|date=January 1, 2001 (optional)|URL=http://... (the entire URL)|title=thread or Webpage name}}</nowiki></code>


===TumblrRef===
===[[Template:TumblrRef|TumblrRef]]===
{{Main|Template:TumblrRef}}
:''For all content on Tumblr.''
:''For all content on Tumblr.''
<code><nowiki>{{TumblrRef|author=...|URL=http://...|title=title of the thread or Webpage|tumblr-title=the title of the Tumblr|date=date of creation}}</nowiki></code>
<code><nowiki>{{TumblrRef|author=...|URL=http://...|title=title of the thread or Webpage|tumblr-title=the title of the Tumblr|date=date of creation}}</nowiki></code>

Revision as of 09:38, 27 July 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}}

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

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