Cake Eater (talk | contribs) No edit summary Tag: sourceedit |
No edit summary Tag: sourceedit |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <infobox layout="tabular" theme="gta-with-subtitle"> |
||
− | {|class="infobox bordered vcard" style="background: #555555; border: solid white 2px; width: 23em; text-align: left; font-size: 89%;" |
||
+ | <data><label>Type</label><default>CITY</default></data> |
||
− | |- |
||
+ | <title source="name"><default>{{PAGENAME}}</default></title> |
||
− | !colspan="2" style="background: #3c3c3c; color: white; text-align: center;"{{pipe}}<small>CITY</small><br /><span class="fn" style="font-size:18px;">{{{name}}} |
||
+ | <image source="image"><caption source="caption"/></image> |
||
− | |- |
||
+ | <data source="game"><label>Appearance(s)</label></data> |
||
− | {{#if:{{{image|<noinclude>-</noinclude>}}} | |
||
+ | <data source="mayor"><label>Mayor</label></data> |
||
− | ! style="background: #000000; color:lightgray; font-size: 90%; text-align: center;" colspan="2" {{!}} [[file:{{{image}}}|{{{imagesize}}}]] |
||
+ | <data source="pop"><label>Population</label></data> |
||
− | {{{caption|}}} |
||
+ | <data source="size"><label>Area</label></data> |
||
− | {{!}}- valign=top |
||
+ | <data source="established"><label>Established</label></data> |
||
− | }} |
||
+ | <data source="country"><label>Country</label></data> |
||
− | {{#if:{{{games|<noinclude>-</noinclude>}}} | |
||
+ | <data source="state"><label>State</label></data> |
||
− | !style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Appearance(s): |
||
+ | <data source="motto"><label>Motto</label></data> |
||
− | {{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{games}}} |
||
+ | <data source="Unlocked after"><label>Unlocked After</label></data> |
||
− | {{!}}- valign=top |
||
+ | </infobox> |
||
− | }} |
||
− | {{#if:{{{mayor|<noinclude>-</noinclude>}}} | |
||
− | !style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Mayor: |
||
− | {{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{mayor}}} |
||
− | {{!}}- valign=top |
||
− | }} |
||
− | {{#if:{{{pop|<noinclude>-</noinclude>}}} | |
||
− | !style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Population: |
||
− | {{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{pop}}} |
||
− | {{!}}- valign=top |
||
− | }} |
||
− | {{#if:{{{size|<noinclude>-</noinclude>}}} | |
||
− | !style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Area: |
||
− | {{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{size}}} |
||
− | {{!}}- valign=top |
||
− | }} |
||
− | {{#if:{{{established|<noinclude>-</noinclude>}}} | |
||
− | !style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Established: |
||
− | {{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{established}}} |
||
− | {{!}}- valign=top |
||
− | }} |
||
− | {{#if:{{{country|<noinclude>-</noinclude>}}} | |
||
− | !style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Country: |
||
− | {{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{country}}} |
||
− | {{!}}- valign=top |
||
− | }} |
||
− | {{#if:{{{state|<noinclude>-</noinclude>}}} | |
||
− | !style="background: #000000; text-align:center; color:lightgray;"{{pipe}} State: |
||
− | {{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{state}}} |
||
− | {{!}}- valign=top |
||
− | }} |
||
− | {{#if:{{{motto|<noinclude>-</noinclude>}}} | |
||
− | !style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Motto: |
||
− | {{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{motto}}} |
||
− | {{!}}- valign=top |
||
− | }} |
||
− | {{#if:{{{Unlocked after|<noinclude>-</noinclude>}}} | |
||
− | !style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Unlocked After: |
||
− | {{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{Unlocked after|}}} |
||
− | {{!}}- valign=top |
||
− | }} |
||
− | |} |
||
− | |||
<noinclude> |
<noinclude> |
||
The following code produces the fake infobox shown on the right: |
The following code produces the fake infobox shown on the right: |
||
Line 65: | Line 23: | ||
|mayor = |
|mayor = |
||
|pop = |
|pop = |
||
− | |boroughs = |
||
|established = |
|established = |
||
|country = |
|country = |
Revision as of 14:07, 22 June 2015
The following code produces the fake infobox shown on the right:
{{infobox city| |image = |imagesize = |games = |name = |mayor = |pop = |established = |country = |state = |motto = |Unlocked after = }}