Template:Infobox set: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
No edit summary
>Yandere-sliver
(Let's use infobox technology)
Line 1: Line 1:
<includeonly> {{DISPLAYTITLE:''{{PAGENAME}}''}} {| class="toccolours" style="width:20em; margin:0 0 0.5em 1em; float:right;"
<includeonly>{{DISPLAYTITLE:''{{PAGENAME}}''}}</includeonly>{{Infobox
!style="background: {{{background}}};" colspan="3"|<big>''{{{set name|{{PAGENAME}}}}}''</big>{{#if:{{{logo|}}}|<br/>{{{logo}}}<br/>&nbsp;}}
| headerstyle  = background:#ccf;
|- style="vertical-align:top;"
| labelstyle  = width:40%; font-size: 90%;
|colspan="1"|<div style="font-size: 90%;">'''Set symbol'''</div>
| above  = <big>''{{{set name|{{PAGENAME}}}}}''</big>
|colspan="2"|{{#if:{{{nosymbol|}}}|''This set has no own expansion symbol.''|{{#if:{{{code_expansion|}}}{{{symbol|}}}|{{#if:{{{nokeyrune|}}}|{{symbol|{{uc:{{{symbol|{{{code_expansion}}}}}}}}_symbol|type=png|size=x21px}}|{{keyrune|{{{symbol|{{{code_expansion}}}}}}}}}}}}}}
| image  = {{#if:{{{logo|}}}|{{{logo}}}}}
{{#if:{{{symbol description|}}}|
| header1 = Set Information
{{!}}- style="vertical-align:top;"
| label2  = Set symbol
{{!}}colspan="1"{{!}}<div style="font-size: 90%;">'''Symbol description'''</div>
| data2  = {{#if:{{{nosymbol|}}}|''This set has no own expansion symbol.''|{{keyrune|{{{symbol|{{{code_expansion}}}}}}}}}}
{{!}}colspan="2"{{!}}{{{symbol description}}}
| label3  = Symbol description
|}}
| data3  = {{{symbol description|}}}
|- style="vertical-align:top;"
| label4  = Design team
|colspan="1"|<div style="font-size: 90%;">'''Design team'''</div>
| data4  = {{{design team|&nbsp;}}}
|colspan="2"|{{{design team}}}
| label5  = Development team
|- style="vertical-align:top;"
| data5  = {{{development team|&nbsp;}}}
|colspan="1"|<div style="font-size: 90%;">'''Development team'''</div>
| label6  = Art Director
|colspan="2"|{{{development team}}}
| data6  = {{{art director|&nbsp;}}}
|- style="vertical-align:top;"
| label7  = Release date
|colspan="1"|<div style="font-size: 90%;">'''Art Director'''</div>
| data7  = {{{date_release|&nbsp;}}}
|colspan="2"|{{{art director}}}
| label8  = Themes and<br/>mechanics
|- style="vertical-align:top;"
| data8  = {{{mechanics|&nbsp;}}}
|colspan="1"|<div style="font-size: 90%;">'''Release date'''</div>
| label9  = Keywords and/<br/>or ability words
|colspan="2"|{{{date_release}}}
| data9  = {{{keywords|&nbsp;}}}
|- style="vertical-align:top;"
| label10 = Set size
|colspan="1"|<div style="font-size: 90%;">'''Themes and mechanics'''</div>
| data10  = {{{size|&nbsp;}}}
|colspan="2"|{{{mechanics}}}
| label11 = Expansion code
|- style="vertical-align:top;"
| data11  = {{{code_expansion|&nbsp;}}}{{#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="1"|<div style="font-size: 90%;">'''Keywords and/or ability words'''</div>
| label12 = Development [[codename]]
|colspan="2"|{{{keywords}}}
| data12  = {{{code_development|}}}
|- style="vertical-align:top;"
| header13= {{#if:{{{block name|}}}|{{{block name}}} sets|Non-block, non-series set}}
{{!}}colspan="1"{{!}}<div style="font-size: 90%;">'''Set size'''</div>
| data14  = {{Infobox3cols
{{!}}colspan="2"{{!}}{{{size}}}
  | subbox=yes
|- style="vertical-align:top;"
  | labelstyle = font-weight:normal; font-size: 90%; text-align: center; width:33%;
{{!}}colspan="1"{{!}}<div style="font-size: 90%;">'''Expansion code'''</div>
  | datastyleb = font-weight:normal; font-size: 90%; text-align: center; width:33%;
{{!}}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>}}
  | datastylec = font-weight:normal; font-size: 90%; text-align: center; width:33%;
{{#if:{{{code_development|}}}|
  | label1={{#if:{{{first set|}}}|''{{{first set}}}''|<small>N/A</small>}}
{{!}}- style="vertical-align:top;"
  | data1b={{#if:{{{second set|}}}|''{{{second set}}}''|<small>N/A</small>}}
{{!}}colspan="1"{{!}}<div style="font-size: 90%;">'''Development [[codename]]'''</div>
  | data1c={{#if:{{{third set|}}}|''{{{third set}}}''|<small>N/A</small>}}
{{!}}colspan="2"{{!}}{{{code_development}}}
  }}
|}}
| header15= ''[[Magic: The Gathering]]'' [[Set#List of Magic expansions and sets|chronology]]
|- style="text-align:center;"
| data16  = {{Infobox3cols
!bgcolor="#E4E4E4" colspan="3"|{{#if:{{{block name|}}}|{{{block name}}} sets|<small>Non-block, non-series set</small>}}
  | subbox=yes
|- style="text-align:center; font-size:smaller;"
  | labelstyle = font-weight:normal; font-size: 90%; text-align: center; width:33%;
|style="width:33%;"|{{#if:{{{first set|}}}|''{{{first set}}}''|<small>N/A</small>}}
  | datastyleb = font-weight:normal; font-size: 90%; text-align: center; width:33%;
|style="width:33%;"|{{#if:{{{second set|}}}|''{{{second set}}}''|<small>N/A</small>}}
  | datastylec = font-weight:normal; font-size: 90%; text-align: center; width:33%;
|style="width:33%;"|{{#if:{{{third set|}}}|''{{{third set}}}''|<small>N/A</small>}}
  | label1={{#if:{{{previous set|}}}|''{{{previous set}}}''|<small>N/A</small>}}
|- style="text-align:center;"
  | data1b='''''{{{set name|{{PAGENAME}}}}}'''''
!bgcolor="#E4E4E4" colspan="3"|''[[:Magic|Magic: The Gathering]]'' [[Set#List of Magic expansions and sets|chronology]]
  | data1c={{#if:{{{next set|}}}|''{{{next set}}}''|<small>N/A</small>}}
|- style="text-align:center; font-size:smaller;"
  }}
|style="width:33%;"|{{#if:{{{previous set|}}}|''{{{previous set}}}''|<small>N/A</small>}}
}}<noinclude>
|style="width:33%;"|'''''{{{set name|{{PAGENAME}}}}}'''''
|style="width:33%;"|{{#if:{{{next set|}}}|''{{{next set}}}''|<small>N/A</small>}}
|}{{#if:{{{nokeyrune|}}}|[[Category:In Use]]}}</includeonly><noinclude>
== Usage ==
== Usage ==
Displays the pagename in italics.
Displays the pagename in italics.

Revision as of 02:05, 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
  |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 = 
  |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 = 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 = [[...]]
  |nokeyrune = (set to 1 if not available yet)
}}

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]]
}}