Template:Infobox set: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
(The idea with the image parameter is depricate the logo parameter and have better control over the image display.)
>Yandere-sliver
(The infobox parameter were historyically named and they were not really standarized. I try to change that now.)
Line 2: Line 2:
| headerstyle  = background:#ccf;
| headerstyle  = background:#ccf;
| labelstyle  = width:40%; font-size: 90%;
| labelstyle  = width:40%; font-size: 90%;
| above  = <big>''{{{set name|{{PAGENAME}}}}}''</big>
| above  = <big>''{{{name|{{{set name|{{PAGENAME}}}}}}}}''</big>
| image  = {{#if:{{{logo|}}}|{{{logo}}}|{{#if:{{{image|}}}|[[File:{{{image}}}|250px|link=]]}}}}
| image  = {{#if:{{{logo|}}}|{{{logo}}}|{{#if:{{{image|}}}|[[File:{{{image}}}|250px|link=]]}}}}
| header1 = Set Information
| header1 = Set Information
Line 8: Line 8:
| data2  = {{#if:{{{nosymbol|}}}|''This set has no own expansion symbol.''|{{keyrune|{{{symbol|{{{code_expansion}}}}}}}}}}
| data2  = {{#if:{{{nosymbol|}}}|''This set has no own expansion symbol.''|{{keyrune|{{{symbol|{{{code_expansion}}}}}}}}}}
| label3  = Symbol description
| label3  = Symbol description
| data3  = {{{symbol description|}}}
| data3  = {{{symbol_description|{{{symbol description|}}}}}}
| label4  = Design team
| label4  = Design team
| data4  = {{{design team|&nbsp;}}}
| data4  = {{{design|{{{design team|&nbsp;}}}}}}
| label5  = Development team
| label5  = Development team
| data5  = {{{development team|&nbsp;}}}
| data5  = {{{development|{{{development team|&nbsp;}}}}}}
| label6  = Art Director
| label6  = Art Director
| data6  = {{{art director|&nbsp;}}}
| data6  = {{{art|{{{art director|&nbsp;}}}}}}
| label7  = Release date
| label7  = Release date
| data7  = {{{date_release|&nbsp;}}}
| data7  = {{{release|{{{date_release|&nbsp;}}}}}}
| label8  = Themes and<br/>mechanics
| label8  = Themes and<br/>mechanics
| data8  = {{{mechanics|&nbsp;}}}
| data8  = {{{mechanics|&nbsp;}}}
Line 27: Line 27:
| label12 = Development [[codename]]
| label12 = Development [[codename]]
| data12  = {{{code_development|}}}
| data12  = {{{code_development|}}}
| header13= {{#if:{{{block name|}}}|{{{block name}}} sets|Non-block, non-series set}}
| header13= {{#if:{{{series|}}}|{{{series|}}}|{{#if:{{{block|{{{block name|}}}}}}|{{{block|{{{block name|}}}}}} sets|Non-block, non-series set}}}}
| data14  = {{Infobox set/triplicate
| data14  = {{Infobox set/triplicate
   | {{#if:{{{first set|}}}|''{{{first set}}}''|<small>N/A</small>}}
   | {{#if:{{{first|{{{first set|}}}}}}|''{{{first|{{{first set|}}}}}}''|<small>N/A</small>}}
   | {{#if:{{{second set|}}}|''{{{second set}}}''|<small>N/A</small>}}
   | {{#if:{{{second|{{{second set|}}}}}}|''{{{second|{{{second set|}}}}}}''|<small>N/A</small>}}
   | {{#if:{{{third set|}}}|''{{{third set}}}''|<small>N/A</small>}}
   | {{#if:{{{third|{{{third set|}}}}}}|''{{{third|{{{third set|}}}}}}''|<small>N/A</small>}}
   }}
   }}
| header15= ''[[Magic: The Gathering]]'' [[Set#List of Magic expansions and sets|chronology]]
| header15= ''[[Magic: The Gathering]]'' [[Set#List of Magic expansions and sets|chronology]]
| data16  = {{Infobox set/triplicate
| data16  = {{Infobox set/triplicate
   | {{#if:{{{previous set|}}}|''{{{previous set}}}''|<small>N/A</small>}}
   | {{#if:{{{previous|{{{previous set|}}}}}}|''{{{previous|{{{previous set|}}}}}}''|<small>N/A</small>}}
   | '''''{{{set name|{{PAGENAME}}}}}'''''
   | '''''{{{name|{{{set name|{{PAGENAME}}}}}}}}'''''
   | {{#if:{{{next set|}}}|''{{{next set}}}''|<small>N/A</small>}}
   | {{#if:{{{next|{{{next set|}}}}}}|''{{{next|{{{next set|}}}}}}''|<small>N/A</small>}}
   }}
   }}
}}<noinclude>
}}<noinclude>
Line 46: Line 46:
<pre>
<pre>
{{Infobox set
{{Infobox set
   |set name =  
   |name =  
   |logo =  
   |image =  
   |symbol description =  
   |symbol_description =  
   |design team =  
   |design =  
   |development team =  
   |development =  
   |date_release =  
   |art =  
   |date_prerelease =
   |release =
  |date_launch_party =
  |date_magic_online =
  |date_game_day =  
   |mechanics =  
   |mechanics =  
   |keywords =  
   |keywords =  
Line 63: Line 60:
   |code_expansion_explain =  
   |code_expansion_explain =  
   |code_development =  
   |code_development =  
   |block name =  
   |series =  
   |first set =  
   |first =  
   |second set =  
   |second =  
   |third set =  
   |third =  
   |previous set =  
   |previous =  
   |next set =  
   |next =  
}}
}}
</pre>
</pre>

Revision as of 12:36, 18 March 2018

Infobox set
Set Information
Set symbol
Design team  
Development team  
Art Director  
Release date  
Themes and
mechanics
 
Keywords and/
or ability words
 
Set size  
Expansion code  
Non-block, non-series set
N/A N/A N/A
Magic: The Gathering chronology
N/A Infobox set N/A

Usage

Displays the pagename in italics.

Bare Bones

{{Infobox set
  |name = 
  |image = 
  |symbol_description = 
  |design = 
  |development = 
  |art = 
  |release =  
  |mechanics = 
  |keywords = 
  |size = 
  |code_expansion = 
  |code_expansion_ref = 
  |code_expansion_explain = 
  |code_development = 
  |series = 
  |first = 
  |second = 
  |third = 
  |previous = 
  |next = 
}}

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 = Used if keyrune code is different from code_expansion (for example the masterpiece series uses the dame expansion code but different symbols).
  |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 = XXX (the three letter expansion code)
  |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 = [[...]]
  |next set = [[...]]
}}

Example

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

{{Infobox set
 |logo = [[File:RTR logo.png|250px]]|
 |symbol description = The nib of a fountain pen
 |design team = [[Ken Nagle]] (lead),<br/>[[Zac Hill]],<br/>[[Alexis Janson]],<br/>[[Mark Rosewater]],<br/>[[Ken Troop]]<ref group="note">With contributions from [[Mark Gottlieb]], [[Ethan Fleischer]], [[Shawn Main]], and [[Billy Moreno]], who designed 11 cards, namely, <c>Bazaar Krovod</c>, <c>Chronic Flooding</c>, <c>Codex Shredder</c>, <c>Oak Street Innkeeper, <c>Rogue's Passage</c>, <c>Search the City</c>, <c>Security Blockade</c>, <c>Street Sweeper</c>, <c>Tavern Swindler</c>, <c>Underworld Connections</c>, and <c>Urban Burgeoning</c>.</ref>
 |development team = [[Erik Lauer]] (lead),<br/>Zac Hill,<br/>[[Dave Humpherys]],<br/>[[Tom LaPille]],<br/>[[Adam Lee]],<br/>[[Billy Moreno]],<br/>[[Shawn Main]]
 |art director = [[Jeremy Jarvis]]
 |date_release = October 5, 2012
 |mechanics = [[Gate]]s,<br/>[[Guilds of Ravnica|Guilds]],<br/>[[Hybrid mana]]
 |keywords = [[Detain]],<br/>[[Overload]],<br/>[[Populate]],<br/>[[Scavenge]],<br/>[[Unleash]]
 |size = 274 cards<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
 |block name = [[Return to Ravnica block]]
 |first set = [[Return to Ravnica]]
 |second set = [[Gatecrash]]
 |third set = [[Dragon's Maze]]
 |previous set = [[Duel Decks: Izzet vs. Golgari]]
 |next set = [[Commander's Arsenal]]
}}