Difference between revisions of "Template:Infobox location"
From Hanna-Barbera Wiki
Jump to navigationJump to search
MisterJames (talk | contribs) |
m |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| border=1 class="infobox" | {| border=1 class="infobox" style="width:300px" | ||
! colspan=2 style="background-color:# | ! colspan=2 style="background-color:#a87440"|''{{{name|{{PAGENAME}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image1|}}}|{{!}}- | {{#if:{{{image1|}}}|{{!}}- | ||
{{!}}colspan=2 style="text-align:center"{{!}}{{{image1}}}<br>{{#if:{{{caption1|}}}|{{{caption1}}}}} | {{!}}colspan=2 style="text-align:center"{{!}}{{{image1}}}<br>{{#if:{{{caption1|}}}|{{{caption1}}}}} | ||
}} | }} | ||
{{#if:{{{country|}}}|{{!}}-style="text-align: | {{!}}- | ||
{{!!}}style="width:30%"{{!}} Country | {{#if:{{{planet|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | ||
{{!!}}style="width:30%"{{!}} Planet | |||
{{!}}style="white-space:nowrap;width:70%"{{!}}{{{planet}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{continent|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | |||
{{!!}}style="width:30%"{{!}} Continent | |||
{{!}}style="white-space:nowrap;width:70%"{{!}}{{{continent}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{region|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | |||
{{!!}}style="width:30%"{{!}} Region | |||
{{!}}style="white-space:nowrap;width:70%"{{!}}{{{region}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{country|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | |||
{{!!}}style="width:30%"{{!}} Country | |||
{{!}}style="white-space:nowrap;width:70%"{{!}}{{{country}}} | {{!}}style="white-space:nowrap;width:70%"{{!}}{{{country}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{county|}}}|{{!}}-style="text-align: | {{#if:{{{county|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | ||
{{!!}}style="white-space:nowrap;width:30%"{{!}} County | {{!!}}style="white-space:nowrap;width:30%"{{!}} County | ||
{{!}} {{{county}}} | {{!}} {{{county}}} | ||
}} | }} | ||
{{#if:{{{pop|}}}|{{!}}-style="text-align: | {{!}}- | ||
{{!!}} Population | {{#if:{{{state|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | ||
{{!!}}style="white-space:nowrap;width:30%"{{!}} State | |||
{{!}} {{{state}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{city|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | |||
{{!!}}style="white-space:nowrap;width:30%"{{!}} City | |||
{{!}} {{{city}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{town|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | |||
{{!!}}style="white-space:nowrap;width:30%"{{!}} Town | |||
{{!}} {{{town}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{pop|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | |||
{{!!}} Population | |||
{{!}} {{{pop}}} | {{!}} {{{pop}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{owner|}}}|{{!}}-style="text-align: | {{#if:{{{founder|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | ||
{{!!}} Owned by | {{!!}} Founder(s) | ||
{{!}} {{{founder}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{owner|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | |||
{{!!}} Owned by | |||
{{!}} {{{owner}}} | {{!}} {{{owner}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{occupants|}}}|{{!}}-style="text-align: | {{#if:{{{occupants|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | ||
{{!!}} Occupants | {{!!}} Occupants | ||
{{!}} {{{occupants}}} | {{!}} {{{occupants}}} | ||
}} | }} | ||
{{#if:{{{first|}}}|{{!}}-style="text-align: | {{!}}- | ||
{{!!}} First appearance | {{#if:{{{only|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | ||
{{!!}} Only appearance | |||
{{!}} {{{only}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{first|}}}|{{!}}-style="vertical-align:top;text-align:left;padding:2px" | |||
{{!!}} First appearance | |||
{{!}} {{{first}}} | {{!}} {{{first}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 76: | Line 115: | ||
;Blank template | ;Blank template | ||
<pre> | <pre> | ||
{{Infobox | {{Infobox location | ||
|image1= | |image1= | ||
|caption1= | |caption1= | ||
|planet= | |||
|continent= | |||
|region= | |||
|country= | |country= | ||
|county= | |county= | ||
|state= | |||
|city= | |||
|town= | |||
|pop= | |pop= | ||
|founder= | |||
|owner= | |owner= | ||
|occupants= | |occupants= | ||
|only= | |||
|first= | |first= | ||
|image2= | |image2= | ||
|caption2= | |caption2= | ||
Line 103: | Line 149: | ||
|caption10= | |caption10= | ||
}}</pre> | }}</pre> | ||
[[Category:Templates]][[Category:Infobox templates]]</noinclude><includeonly>[[Category: | [[Category:Templates]][[Category:Infobox templates]]</noinclude><includeonly>[[Category:Locations]]</includeonly> |
Latest revision as of 21:22, 30 December 2023
Infobox location |
---|
- Blank template
{{Infobox location |image1= |caption1= |planet= |continent= |region= |country= |county= |state= |city= |town= |pop= |founder= |owner= |occupants= |only= |first= |image2= |caption2= |image3= |caption3= |image4= |caption4= |image5= |caption6= |image7= |caption7= |image8= |caption8= |image9= |caption9= |image10= |caption10= }}