Help:Template reference: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
No edit summary
>Corveroth
(Formatting changes)
Line 25: Line 25:
Referencing and standardized referencing are important. As such, please use [[:Category:Referencing templates|these templates]].
Referencing and standardized referencing are important. As such, please use [[:Category:Referencing templates|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.
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. To avoid ambiguity between date formats, please write out the full year and the name of the month.


===[[Template:Cquote|Cquote]]===
===[[Template:Cquote|Cquote]]===
Line 31: Line 31:
{{Cquote|Insert the text of the quote here, without quotation marks.}}
{{Cquote|Insert the text of the quote here, without quotation marks.}}


===[[Template:NewRef|NewRef]]===
=== Official Wizards Website: NewRef ===
:''For all newer articles on http://www.dailymtg.com.''
[[Template:NewRef|NewRef]] should be used for articles on [https://magic.wizards.com/en/articles| magic.wizards.com] (previously known as dailymtg.com, or "The Mothership"). It should only be used for ''articles'': it will not produce a functional link for other pages (such as product pages or more obscure content).
<code><nowiki>{{NewRef|The part of the URL following /en/articles/archive/|Title|Author(s)|Date}}</nowiki></code>


===[[Template:TumblrRef|TumblrRef]]===
:<code><nowiki>{{NewRef|The part of the URL following media.wizards.com/en/articles/archive/|Title|Author(s)|Date}}</nowiki></code>
:''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>


===[[Template:DriveRef|DriveRef]]===
=== Tumblr: TumblrRef ===
:''For referencing episodes of [[Drive to Work]].''
[[Template:TumblrRef|TumblrRef]] can handle links to any Tumblr blog. See also EzTumblr below
<code><nowiki>{{DriveRef|URL following http://media.wizards.com/podcasts/magic/|episode number|title of podcast|transcript URL following http://dtwtranscripts.blogspot.com/ (if available)}}</nowiki></code>


===[[Template:MTGSRef|MTGSRef]]===
:<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>
:''For all content on MTGS.''
<code><nowiki>{{MTGSRef|author=John Doe|date=January 1, 2001 (optional)|URL=http://... (the entire URL)|title=thread or Webpage name}}</nowiki></code>


===[[Template:SCGref|SCGref]]===
==== Short format: EzTumblr ====
:''For all articles on StarCityGames.com.''
For the most frequently cited Tumblrs, [[Template:EzTumblr|EzTumblr]] can automatically fill the <code>author</code>, <code>tumblr-title</code>, and (optionally) <code>title</code> fields of TumblrRef. You still need to provide the full <code>URL</code> and <code>date</code>.
<code><nowiki>{{SCGref|THE_END_BIT_OF_THE_URL|ARTICLE'S TITLE|AUTHOR OF ARTICLE|DATE}}</nowiki></code>


{{SCGref|THE_END_BIT_OF_THE_URL|ARTICLE'S TITLE|AUTHOR OF ARTICLE|DATE}}
:<code><nowiki>{{EzTumblr|url=http://...|title=...|date=...}}</nowiki></code>
 
=== Drive to Work: DriveRef===
[[Template:DriveRef|DriveRef]] standardizes links to [[Mark Rosewater]]'s Drive to Work podcast. If available, it accepts a partial URL for a transcript as its final parameter.
 
:<code><nowiki>{{DriveRef|The part of the URL following media.wizards.com/podcasts/magic/|episode number|episode title|transcript URL following http://dtwtranscripts.blogspot.com/ (if available)}}</nowiki></code>
 
=== MTG Salvation: MTGSRef ===
[[Template:MTGSRef|MTGSRef]] covers all content from [[ MTG Salvation]].
 
:<code><nowiki>{{MTGSRef|author=John Doe|date=January 1, 2001 (optional)|URL=http://... (the entire URL)|title=thread or Webpage name}}</nowiki></code>
 
=== Star City Games: SCGRef ===
[[Template:SCGref|SCGref]] covers articles from StarCityGames.com.
 
:<code><nowiki>{{SCGref|THE_END_BIT_OF_THE_URL|ARTICLE'S TITLE|AUTHOR OF ARTICLE|DATE}}</nowiki></code>


==Maintainance==
==Maintainance==

Revision as of 23:24, 13 March 2018

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. To avoid ambiguity between date formats, please write out the full year and the name of the month.

Cquote

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

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

Official Wizards Website: NewRef

NewRef should be used for articles on magic.wizards.com (previously known as dailymtg.com, or "The Mothership"). It should only be used for articles: it will not produce a functional link for other pages (such as product pages or more obscure content).

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

Tumblr: TumblrRef

TumblrRef can handle links to any Tumblr blog. See also EzTumblr below

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

Short format: EzTumblr

For the most frequently cited Tumblrs, EzTumblr can automatically fill the author, tumblr-title, and (optionally) title fields of TumblrRef. You still need to provide the full URL and date.

{{EzTumblr|url=http://...|title=...|date=...}}

Drive to Work: DriveRef

DriveRef standardizes links to Mark Rosewater's Drive to Work podcast. If available, it accepts a partial URL for a transcript as its final parameter.

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

MTG Salvation: MTGSRef

MTGSRef covers all content from MTG Salvation.

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

Star City Games: SCGRef

SCGref covers articles from StarCityGames.com.

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

Maintainance

Cleanup

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


Expand

{{Expand}}


Fact — Fact, or "Fact"?

Use {{fact}} if a certain fact need citation.

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

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.