Template:Infobox set: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
(Just added the categorization when there is actually a code to be referenced. That should be less intrusive and we can sort out these things over time if we keep it.)
>Yandere-sliver
mNo edit summary
Line 32: Line 32:
|- style="vertical-align:top;"
|- style="vertical-align:top;"
{{!}}colspan="1"{{!}}<div style="font-size: 90%;">'''Expansion code'''</div>
{{!}}colspan="1"{{!}}<div style="font-size: 90%;">'''Expansion code'''</div>
{{!}}colspan="2"{{!}}{{{code_expansion}}}{{#if:{{{code_expansion_ref|}}}|{{{code_expansion_ref}}}|{{if:{{{code_expansion|}}}|[[Category:Infobox set with unsourced set code]]}}}}{{#if:{{{code_expansion_explain|}}}|<br/><small>{{{code_expansion_explain}}}</small>}}
{{!}}colspan="2"{{!}}{{{code_expansion}}}{{#if:{{{code_expansion_ref|}}}|{{{code_expansion_ref}}}|{{#if:{{{code_expansion|}}}|[[Category:Infobox set with unsourced set code]]}}}}{{#if:{{{code_expansion_explain|}}}|<br/><small>{{{code_expansion_explain}}}</small>}}
{{#if:{{{code_development|}}}|
{{#if:{{{code_development|}}}|
{{!}}- style="vertical-align:top;"
{{!}}- style="vertical-align:top;"

Revision as of 11:32, 30 April 2016

Usage

Bare Bones

{{Infobox set
  |set name = 
  |logo = 
  |symbol description = 
  |design team = 
  |development team = 
  |date_release = 
  |date_prerelease = 
  |date_launch_party = 
  |date_magic_online = 
  |date_game_day = 
  |mechanics = 
  |keywords = 
  |size = 
  |code_expansion = 
  |code_expansion_ref = 
  |code_expansion_explain = 
  |code_development = 
  |block name = 
  |first set = 
  |second set = 
  |third set = 
  |previous set = 
  |this set = 
  |next set = 
}}

Skeleton

{{Infobox set
  |set name = defaults to PAGENAME
  |logo = [[File:[code_expansion] logo.jpg|250px]]|
  |symbol description = 
  |nosymbol= set to 1, if the set has no own expansion symbol like Renaissance.
  |symbol = only used if code_expansion is NULL but the set has a symbol (essentially only legendary cube)
  |design team = ...<ref name="..."/>
  |development team = ...<ref name="..."/>
  |date_release = ...<ref name="..."/>
  |date_prerelease = ...<ref name="..."/>
  |date_launch_party = ...<ref name="..."/>
  |date_magic_online = ...<ref name="..."/>
  |date_game_day = ...<ref name="..."/>
  |mechanics = ...<ref name="..."/>
  |keywords = ...<ref name="..."/>
  |size = ...<ref name="..."/><BR><small>(n basic lands, o commons, p uncommons, q rares, r mythic rares)</small>
  |code_expansion = ...
  |code_expansion_ref = <ref name="..."/>
  |code_expansion_explain = if there is a need to explain the code.
  |code_development = ...<ref name="..."/>
  |block name = [[...]]
  |first set = 
  |second set = 
  |third set = 
  |previous set = [[...]]
  |this set = 
  |next set = [[...]]
}}

Example

For Return to Ravnica, for example, the infobox expansion is:

{{Infobox set
  |set name = Return to Ravnica
  |logo = [[Image:RTR logo.jpg|250px]]|
  |symbol description = 
  |design team = [[Ken Nagle]] (lead),<BR>...
  |development team = [[Erik Lauer]] (lead),<BR>...
  |date_release = October 5, 2012<ref name="Announcing"/>
  |date_prerelease = September 29–30, 2012
  |date_launch_party = October 5–7, 2012
  |date_magic_online = 
  |date_game_day = October 27–28, 2012
  |mechanics = [[Gates]],<BR>[[Guilds of Ravnica|Guilds]],...
  |keywords = [[Detain]],<BR>[[Overload]],...
  |size = 274 cards<ref name="Announcing"/><BR><small>(25 basic lands, 101 commons, 80 uncommons, 53 rares, 15 mythic rares)</small>
  |code_expansion = RTR
  |code_expansion_ref = <ref>http://magic.wizards.com/en/content/return-ravnica</ref>
  |code_development = Hook<ref name="Announcing"/>
  |block name = [[Return to Ravnica block]]
  |first set = '''Return to Ravnica'''
  |second set = [[Gatecrash]]
  |third set = "[[Sinker]]"
  |previous set = [[Duel Decks#Izzet vs. Golgari|Duel Decks: Izzet vs. Golgari]]
  |this set = Return to Ravnica
  |next set = [[Commander's Arsenal]]
}}