Template:Infobox location: Difference between revisions

From Wikifang, a definitive guide to Telefang, Dino Device and Bugsite
Jump to navigation Jump to search
(Undo revision 5401 by Blaziken257 ...I'm sorry, but we're using gifs instead of pngs now. The efforts should be on fixing the maps, not the template. :/)
(ja)
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| width="300px" class="infobox"
{| width="300px" class="infobox"
| colspan="2" class="infoheading" | {{#if:{{{name|}}}|'''{{{name|}}}'''|'''{{PAGENAME}}'''}}<span style="font-size:14px !important;">{{#if:{{{japname|}}}|<br />'''{{{japname}}}'''{{#if:{{{romaji|}}}| ''{{{romaji}}}''}}}}</span><span style="font-size:12px; color:#666666;">{{#if:{{{bootlegname|}}}|<br />Bootleg: {{{bootlegname|}}}}}</span>
| colspan="2" class="infoheading topborder" | {{#if:{{{name|}}}|'''{{{name|}}}'''|'''{{PAGENAME}}'''}}<span style="font-size:12px !important;">{{#if:{{{ja|}}}|<br />'''{{{ja}}}'''{{#if:{{{romaji|}}}| ''{{{romaji}}}''}}}}</span><span style="font-size:10px; color:#666666;">{{#if:{{{bootlegname|}}}|<br />Bootleg: {{{bootlegname|}}}}}</span>
{{#if:{{{name|}}}| {{!}}-
{{#if:{{{name|}}}| {{!}}-
{{!}} colspan="2" class="imagebox" {{!}} [[Image:{{{name}}}.gif|300px]]}}
{{!}} colspan="2" class="imagebox" {{!}} [[Image:{{{name}}}.png|280px]]{{#ifexist:Image:{{{name}}}.png|<br /><small><div align="center">Map of {{{name|{{PAGENAME}}}}}. Click to enlarge.</div></small>}}}}
{{#if: {{{town|}}} | {{!}}-
{{#if: {{{town|}}} | {{!}}-
! [[Town]]
! [[Town]]
Line 9: Line 9:
! [[Version]] found in
! [[Version]] found in
{{!}} {{v|{{{found-in}}}|{{#if:{{{found-in2|}}}|{{{found-in2}}}}}|{{#if:{{{found-in3|}}}|{{{found-in3}}}}}|{{#if:{{{found-in4|}}}|{{{found-in4}}}}}}}}}
{{!}} {{v|{{{found-in}}}|{{#if:{{{found-in2|}}}|{{{found-in2}}}}}|{{#if:{{{found-in3|}}}|{{{found-in3}}}}}|{{#if:{{{found-in4|}}}|{{{found-in4}}}}}}}}}
{{#ifeq: {{{found-in|}}}|Telefang 1 | <table>
{{#if:{{{tree1|}}}|{{!}}-
{{!}} [[{{{tree1}}}]]
{{!}} colspan="2" class="infosection" {{!}} <div style="background-color:rgb(224, 224, 224);">Connections</div>
{{!}} {{{treename|}}}<br />''Antenna Tree''
{{!}}-
{{!}} [[{{{tree2}}}]]
{{!}} colspan="2" class="colspantd" {{!}} <div align="center"><table class="tableintable">
</table>|{{#ifeq: {{{found-in|}}}|Telefang 2 | <table>
! To
{{!}} [[{{{tree1|}}}]]
! [[Antenna Tree]]
{{!}} {{{treename|}}}<br />''Antenna Tree''
! To
{{!}} [[{{{tree2|}}}]]
{{!}}-
</table>}}}}
{{!}} {{#ifeq:{{{tree1}}}|None|None|[[{{{tree1}}}]]}}
|-
{{!}} '''{{{name|}}}'''
| colspan="2" | {{#if:{{{name|}}}|{{#ifexist:Image:{{{name}}} on full.gif|[[Image:{{{name}}} on full.gif|300px]]}}}}
{{!}} {{#ifeq:{{{tree2}}}|None|None|[[{{{tree2}}}]]}}
|-
{{#if:{{{connect|}}}|
| colspan="2" align="center" | {{#if:{{{found-in|}}}|<hr />[[List of locations in {{{found-in|}}}|Locations in {{{found-in|}}}]]}}
{{!}}-
! colspan="3" {{!}} Other connections
{{!}}-
{{!}} colspan="3" {{!}} {{{connect|}}}
}}
</table></div>}}
{{#if:{{{found-in|}}}|{{!}}-
{{!}} colspan="2" class="colspantd" {{!}} <div align="center"><small>[[List of locations in {{{found-in|}}}|Locations in {{{found-in|}}}]]</small></div>}}
|-
|-
|}<includeonly>[[Category:Locations{{#if:{{{found-in|}}}|_in {{{found-in}}}}}]]{{#if:{{{town|}}}|[[Category:Locations in {{{town|}}}]]}}</includeonly> <noinclude>
|}<includeonly>[[Category:Locations{{#if:{{{found-in|}}}|_in {{{found-in}}}}}]]{{#if:{{{town|}}}|[[Category:Locations in {{{town|}}}]]}}</includeonly> <noinclude>
[[Category:Infoboxes|location]]
[[Category:Infoboxes|location]]
</noinclude>
</noinclude>

Latest revision as of 17:41, 16 March 2018

Infobox location