Template:Place: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1:
<includeonlyonlyinclude><templatestyles src="Template:CharacterInfobox/styles.css" /><div class="articlehead"><table class="infobox ib-type-band">{{Infobox
| autoheaders=y
<tr><td colspan="2" style="text-align: center; font-size:140%;">'''{{#if: {{{name|}}}|{{{name|}}}|{{PAGENAME}}}}'''</td></tr>
| bodystyle = width:270px; border: 2px solid #DFCDDD;
<tr><td colspan="2">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=270|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}}</td></tr><!--
| abovestyle = background-color: #2B1D42; color: #DFCDDD; padding: 8px; font-size: 150%;
--><tr><td colspan="2" style="text-align: center;>{{{caption|}}}</td></tr><!--
| imagestyle = padding-top: 9px;
--><!--
| captionstyle = padding: 5px 10px;
--><td colspan="2" class="ib-line"></td>
| subheaderstyle = font-size: 110%; padding: 5px;
<!-------------------------------------------------------------------------------------------------------------------
| headerstyle = background-color: #2B1D42; font-weight: bold; #DFCDDD: white; font-size: 110%; padding: 4px;
-->
| bodyclass = infobox
<tr><td colspan="2" style="padding-top:5px;text-align: center; font-weight: bold;">Place</td></tr>
 
{{#if: {{{location|}}}|<tr>
| above = {{ #if: {{{name|}}} | {{{name|{{PAGENAME}}|#if:{{{fan|true}}} [[category:Fan names]]}}} | {{PAGENAME}}}}
<td class="ib-data-title">Location</td>
|subheader = {{Place/SeriesCategorization|series={{{series|}}}}}
<td class="ib-data">{{{location|}}}</td>
 
</tr>}}<!--<!--
| image = {{#invoke:InfoboxImageDRAFT|InfoboxImageDRAFT|image={{trim brackets|{{{image|}}}}}|alt={{{image_alt|}}}|size={{{image_size|270px}}}|upright={{{upright|1.45}}}|sizedefault=frameless|maxsize=270px}}
-->{{#if: {{{type|}}}|<tr>
| caption = {{{caption|}}}
<td class="ib-data-title">Type</td>
 
<td class="ib-data">{{{type|}}}</td>
| header1 = Overview information
</tr>}}<!--
| label2 = {{tooltip|aka|Also known as}}
<!--
-->{{#if:| data2 = {{{leaderaka|}}}|<tr>
| rowclass2 = bordered
<td class="ib-data-title">Leader</td>
| label3 = Location
<td class="ib-data">{{{leader|}}}</td>
| data3 </tr> = {{{location|}}}
| rowclass3 = bordered
<tr><td colspan="2" style="padding-top:5px;text-align: center; font-weight: bold;">Appearances</td></tr>
| label4 = Type
{{#if: {{{first|}}}|<tr>
| data4 = {{{type|}}}
<td class="ib-data-title">First</td>
| rowclass4 = bordered
<td class="ib-data">{{{first|}}}</td>
| label5 = {{{leader-type|Leader}}}
</tr>}}<!--
-->{{#if:| data5 = {{{lastleader|}}}|<tr>
| rowclass5 = bordered
<td class="ib-data-title">Last</td>
| header6 = Historical information
<td class="ib-data">{{{last|}}}</td>
 
</tr>}}
| label7 = Founder
</table>[[Category:Places]]{{#Switch:{{{series}}}|MLP=[[Category:My Little Pony places]]|TALES=[[Category:Tales places]]|G3=[[Category:Generation 3 places]]|FIM=[[Category:Friendship is Magic places]]|PL=[[Category:Pony Life places]]|EQG=[[Category:Equestria Girls places]]|ANG=[[Category:A New Generation places]]}}</includeonly><noinclude>{{doc}}[[Category:Infoboxes]]</noinclude>
| data7 = {{{founder|}}}
| rowclass7 = bordered
| label8 = Founded
| data8 = {{{founded|}}}
| rowclass8 = bordered
| label9 = Events
| data9 = {{{events|}}}
| rowclass9 = bordered
| label10 = Status
| data10 = {{{status|}}}
| rowclass10 = bordered
|data11 = {{#if: {{{first|}}}{{{last|}}}|<tr>
{{(!}} style="width: 100%; display: inline-table; border-collapse: collapse"
{{!}} style="width: 33%; padding: 0.3em; text-align: center; border-right: 0px solid #326275; border-bottom: 0px solid #326275;" {{!}} '''First'''<br />{{#if: {{{first|}}} | {{{first}}} | &mdash;}}
{{!}} style="width: 33%; padding: 0.3em; text-align: center; border-right: 0px solid #326275; border-bottom: 0px solid #326275;" {{!}} '''Last'''<br />{{#if: {{{last|}}} | {{{last}}} | &mdash;}}
{{!)}}
}}
}}</onlyinclude><includeonly>[[Category:Using place infobox]]{{#if:{{{Y|}}}|[[Category:{{{Y}}} place debuts‎]]}}</includeonly><noinclude><br style="clear:both;" />{{documentation}}</noinclude>