Metro Wiki
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
<infobox>
{| class="{{{id|opacity70}}}" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:250px; margin:6px; padding:2px; background:{{{BG|#883C02}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color|inherit}}};"
 
  +
<title source="name">
{{!}}-}}
 
  +
<default>{{PAGENAME}}</default>
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
 
  +
</title>
{{!}}-}}
 
  +
<image source="image"></image>
<!-- {{#if:{{{image|}}}| -->
 
  +
{{if:{{{image}}}|{{#if:{{{image2}}}|{{#if:{{{image3}}}|<panel>
! style="background:{{{imageBG|#444444}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}}
 
  +
<section><label>{{{imagetab1|Exodus}}}</label><image source="image1"/></section>
<div class="tabber">
 
<div class="tabbertab" title="{{{imagetab1|Metro: Last Light}}}">{{{image}}}</div>
+
<section><label>{{{imagetab2|Last Light}}}</label><image source="image2"/></section>
  +
<section><label>{{{imagetab3|Metro 2033}}}</label><image source="image3"/></section>
{{#if: {{{image2|}}} | <div class="tabbertab" title="{{{imagetab2|Metro 2033}}}">{{{image2}}}</div> }}
 
  +
</panel>}}}}
{{#if: {{{image3|}}} | <div class="tabbertab" title="{{{imagetab3|Image 3}}}">{{{image3}}}</div> }}</div>
 
  +
<group>
<!-- }} -->
 
  +
<header><center>Geographical Information</center></header>
{{!}}-
 
  +
<data source="moscowhalf">
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
 
  +
<label>Moscow Half:</label>
! class="infoboxsubheading" colspan="2" style="font-size:90%; background:{{{sectionBG|#111111}}}" {{!}} '''Geographical Information'''}}
 
  +
</data>
{{!}}-}}
 
  +
<data source="location">
{{#if:{{{Moscow Half|}}}|
 
  +
<label>Location:</label>
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
  +
</data>
'''{{{MoscowHalf-title|Moscow Half}}}''':
 
  +
<data source="size">
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
  +
<label>Size:</label>
{{{moscowhalf|}}}
 
  +
</data>
{{!}}-}}
 
  +
</group>
{{#if:{{{Size|}}}|
 
  +
<group>
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
  +
<header><center>Political Information</center></header>
'''{{{Size-title|Size}}}''':
 
  +
<data source="owningparty">
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
  +
<label>Owning Party:</label>
{{{size|}}}
 
  +
</data>
{{!}}-}}
 
  +
<data source="conflictingparty">
 
<label>Conflicting Parties:</label>
  +
</data>
  +
</group>
  +
<group>
  +
<header><center>Lore Information</center></header>
  +
<data source="progenitor">
  +
<label>Progenitor:</label>
  +
</data>
  +
<data source="counterpart">
  +
<label>Real-world Counterpart:</label>
  +
</data>
  +
<data source="notable">
  +
<label>Notable Facts:</label>
  +
</data>
  +
</group>
  +
</infobox>
   
  +
<noinclude>
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
 
  +
Example usage:<pre>
! class="infoboxsubheading" colspan="2" style="font-size:90%; background:{{{sectionBG|#111111}}}" {{!}} '''Political information'''}}
 
  +
{{Infobox Location
{{!}}-}}
 
  +
|name=
{{#if:{{{Owning Party|}}}|
 
  +
|image1=
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
  +
|imagetab1=
'''{{{OwningParty-title|Owning Party}}}''':
 
  +
|image2=
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
  +
|imagetab2=
{{{owningparty|}}}
 
  +
|image3=
{{!}}-}}
 
  +
|imagetab3=
{{#if:{{{Conflicting Parties|}}}|
 
 
|moscowhalf=
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
  +
|location=
'''{{{ConflictingParty-title|Conflicting Parties}}}''':
 
  +
|size=
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
 
|owningparty=
{{{conflictingparty|}}}
+
|conflictingparty=
{{!}}-}}
 
 
|progenitor=
 
 
|counterpart=
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
 
 
|notable=
! class="infoboxsubheading" colspan="2" style="font-size:90%; background:{{{sectionBG|#111111}}}" {{!}} '''Lore information'''}}
 
{{!}}-}}
+
}}
  +
</pre>
{{#if:{{{progenitor|}}}|
 
  +
[[Category:Infobox templates|{{PAGENAME}}]]
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
  +
</noinclude>
'''{{{Progenitor-title|Progenitor}}}''':
 
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
{{{progenitor|}}}
 
{{!}}-}}
 
{{#if:{{{Counterpart|}}}|
 
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
'''{{{Counterpart-title|Real-World Counterpart}}}''':
 
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
{{{counterpart|}}}
 
{{!}}-}}
 
{{#if:{{{notable|}}}|
 
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
'''{{{notable-title|Notable facts}}}:'''
 
{{!}} style="vertical-align:top; background:{{{fieldBG|#222222}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
{{{notable|}}}
 
{{!}}-}}
 
 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Infobox Location|<span style="color:#FFFFFF;">[Source]</span>]]
 
|}<div style="display:none"><tabber></tabber></div>
 
<includeonly></includeonly><noinclude>
 
__NOTOC__{{clear}}</noinclude>
 

Latest revision as of 06:54, 4 September 2019


Example usage:

{{Infobox Location
|name=
|image1=
|imagetab1=
|image2=
|imagetab2=
|image3=
|imagetab3=
|moscowhalf=
|location=
|size=
|owningparty=
|conflictingparty=
|progenitor=
|counterpart=
|notable=
}}