Template:Place: Difference between revisions

no edit summary
m (1 revision imported)
No edit summary
 
(40 intermediate revisions by 2 users not shown)
Line 1:
<onlyinclude><templatestyles src="Template:Infobox/styles.css" />{{Infobox
<infobox>
| autoheaders=y
<title source="name"><center><font color = "#EAD5FC">{{{name|{{PAGENAME}}}}}</font></center></title>
| bodystyle = width:270px; border: 2px solid #DFCDDD;
<group collapse="closed" layout="horizontal"><data source="caption"></data></group>
| abovestyle = background-color: #2B1D42; color: #DFCDDD; padding: 8px; font-size: 150%;
<image source="image" />
| imagestyle = padding-top: 9px;
<group>
| captionstyle = padding: 5px 10px;
<header>Background information</header>
| subheaderstyle = font-size: 110%; padding: 5px;
<data source="location"><label>Location</label></data>
| headerstyle = background-color: #2B1D42; font-weight: bold; #DFCDDD: white; font-size: 110%; padding: 4px;
<data source="type"><label>Type</label></data>
| bodyclass = infobox
<data source="species"><label>Species</label></data>
 
<data source="language"><label>Language(s)</label></data>
| above = {{ #if: {{{name|}}} | {{{name|{{PAGENAME}}|#if:{{{fan|true}}} [[category:Fan names]]}}} | {{PAGENAME}}}}
<data source="cities"><label>Cities</label></data>
|subheader = {{Place/SeriesCategorization|series={{{series|}}}}}
<data source="inhabitants"><label>Inhabitants</label></data>
 
<data source="goods"><label>Goods</label></data>
| image = {{#invoke:InfoboxImageDRAFT|InfoboxImageDRAFT|image={{trim brackets|{{{image|}}}}}|alt={{{image_alt|}}}|size={{{image_size|270px}}}|upright={{{upright|1.45}}}|sizedefault=frameless|maxsize=270px}}
<data source="menu"><label>Menu</label></data>
| caption = {{{caption|}}}
<data source="workers"><label>Workers</label></data>
 
<data source="regulars"><label>Regulars</label></data>
| header1 = Overview information
<data source="ruler"><label>Ruler</label></data>
| label2 = {{tooltip|aka|Also known as}}
</group>
| data2 = {{{aka|}}}
<group>
| rowclass2 = bordered
<header><center><font color = "#EAD5FC">Appearances</font></center></header>
| label3 = Location
<data source="first"><label>First</label></data>
| data3 = {{{location|}}}
<data source="last"><label>Last</label></data>
| rowclass3 = bordered
</group>
| label4 = Type
</infobox><includeonly>{{#Switch:{{{MLP-MOVIE|}}}|Yes=[[Category:My Little Pony: The Movie (1986) places]]}}{{#Switch:{{{ACB|}}}|Yes=[[Category:A Charming Birthday places]]}}{{#Switch:{{{DITC|}}}|Yes=[[Category:Dancing in the Clouds places]]}}{{#Switch:{{{FANFA|}}}|Yes=[[Category:Friends are Never Far Away places]]}}{{#Switch:{{{AVMC|}}}|Yes=[[Category:A Very Minty Christmas places]]}}{{#Switch:{{{TPP|}}}|Yes=[[Category:The Princess Promenade places]]}}{{#Switch:{{{PPATLJ|}}}|Yes=[[Category:Pinkie Pie and the Lady Bug Jamboree places]]}}{{#Switch:{{{TRR|}}}|Yes=[[Category:The Runaway Rainbow places]]}}{{#Switch:{{{GFU|}}}|Yes=[[Category:Greetings from Unicornia]]}}{{#Switch:{{{AVPP|}}}|Yes=[[Category:A Very Pony Place places]]}}{{#Switch:{{{WBTP|}}}|Yes=[[Category:World's Biggest Tea Party places]]}}{{#Switch:{{{MTP|}}}|Yes=[[Category:Meet the Ponies places]]}}{{#Switch:{{{PPSP|}}}|Yes=[[Category:Pinkie Pie's Special Day places]]}}{{#Switch:{{{RDSP|}}}|Yes=[[Category:Rainbow Dash's Special Day places]]}}{{#Switch:{{{SSATMDS|}}}|Yes=[[Category:Star Song and the Magic Dance Shoes places]]}}{{#Switch:{{{FIM-ANI|}}}|Yes=[[Category:Friendship is Magic cartoon places]]}}{{#Switch:{{{FIM-IDW|}}}|Yes=[[Category:Friendship is Magic comic places]]}}{{#Switch:{{{PL|}}}|Yes=[[Category:Pony Life places]]}}{{#Switch:{{{FIM-BOOK|}}}|Yes=[[Category:Friendship is Magic book places]]}}{{#Switch:{{{MS|}}}|Yes=[[Category:Micro-Series places]]}}{{#Switch:{{{FF|}}}|Yes=[[Category:Friends Forever places]]}}{{#Switch:{{{FIE|}}}|Yes=[[Category:FIENDship is Magic places]]}}{{#Switch:{{{LOM|}}}|Yes=[[Category:Legends of Magic places]]}}{{#Switch:{{{SPF|}}}|Yes=[[Category:Spirit of the Forest places]]}}{{#Switch:{{{NK|}}}|Yes=[[Category:Nightmare Knights places]]}}{{#Switch:{{{TTM|}}}|Yes=[[Category:Through the Mirror places]]}}{{#Switch:{{{RR|}}}|Yes=[[Category:Rainbow Rocks places]]}}{{#Switch:{{{FG|}}}|Yes=[[Category:Friendship Games places]]}}{{#Switch:{{{LOE|}}}|Yes=[[Category:Legend of Everfree places]]}}{{#Switch:{{{FOF|}}}|Yes=[[Category:Feats of Friendship places]]}}{{#Switch:{{{DS|}}}|Yes=[[Category:Better Together places]]}}{{#Switch:{{{ROF|}}}|Yes=[[Category:Rollercoaster of Friendship places]]}}{{#Switch:{{{SPD|}}}|Yes=[[Category:Spring Breakdown places]]}}{{#Switch:{{{BGE|}}}|Yes=[[Category:Best Gift Ever places]]}}{{#Switch:{{{HH|}}}|Yes=[[Category:Happy Holidays places]]}}{{#Switch:{{{GUW|}}}|Yes=[[Category:Gift Unwrapped places]]}}</includeonly><noinclude><pre>{{Place
|first data4 = {{{type|}}}
|last rowclass4 = =bordered
|image label5 = {{{leader-type|Leader}}}
|name data5 = {{{leader|}}}
|location rowclass5 = bordered
|type header6 = Historical =information
 
|species =
|language label7 = Founder
|cities data7 = {{{founder|}}}
|demonym rowclass7 = bordered
| label8 = Founded
|inhabitants =
|goods data8 = {{{founded|}}}
|menu rowclass8 = =bordered
|founder label9 = Events
|workers data9 = {{{events|}}}
|regulars rowclass9 = bordered
|ruler label10 = Status
| data10 = {{{status|}}}
|ruler-title =
| rowclass10 = bordered
}}</pre></noinclude><includeonly>[[Category:Places (A to Z)]]{{#if:{{{series|}}}|{{#Switch:{{{series}}}|
|data11 = {{#if:{{{first|}}}{{{last|}}}|
|MLP=[[Category:My Little Pony places]]
{{(!}} style="width: 100%; display: inline-table; border-collapse: collapse"
|TALES=[[Category:Tales places]]
{{!}} 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;}}
|G3=[[Category:Generation 3 places]]
{{!}} 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;}}
|FIM=[[Category:Friendship is Magic places]]
{{!)}}
|EQG=[[Category:Equestria Girls places]]
}}
|CROSS=[[Category:Crossover places]]
}}</onlyinclude><includeonly>[[Category:Using place infobox]]{{#if:{{{Y|}}}|[[Category:{{{Y}}} place debuts‎]]}}</includeonly><noinclude><br style="clear:both;" />{{documentation}}</noinclude>
}}}}</includeonly>