Template:Location: Difference between revisions

Created page with "<includeonly>{{Infobox<!-- -->| name = {{{name|}}}<!-- -->| image = {{{image|}}}<!-- -->| caption = {{{caption|}}}<!-- -->| data_rows =<!-- -->{{#if: {{{book|}}} |<tr class="infobox-data-row"><th>Book</th><td>{{{book}}}</td></tr>}}<!-- -->{{#if: {{{series|}}} |<tr class="infobox-data-row"><th>Series</th><td>{{{series}}}</td></tr>}}<!-- -->{{#if: {{{city|}}} |<tr class="infobox-data-row"><th>City</th><td>{{{city}}}</td></tr>}}<!-- -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|Categ..."
 
mNo edit summary
Line 6: Line 6:
-->{{#if: {{{book|}}} |<tr class="infobox-data-row"><th>Book</th><td>{{{book}}}</td></tr>}}<!--
-->{{#if: {{{book|}}} |<tr class="infobox-data-row"><th>Book</th><td>{{{book}}}</td></tr>}}<!--
-->{{#if: {{{series|}}} |<tr class="infobox-data-row"><th>Series</th><td>{{{series}}}</td></tr>}}<!--
-->{{#if: {{{series|}}} |<tr class="infobox-data-row"><th>Series</th><td>{{{series}}}</td></tr>}}<!--
-->{{#if: {{{city|}}} |<tr class="infobox-data-row"><th>City</th><td>{{{city}}}</td></tr>}}<!--
-->{{#if: {{{city|}}} |<tr class="infobox-data-row"><th>City</th><td>{{{city}}}</td></tr>}}
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Locations]]}}</includeonly><noinclude>
}}<!--
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Characters]]}}</includeonly><noinclude>
== Description ==
== Description ==
This template should be used on character pages to add an infobox in the upper right hand corner the article.
This template should be used on character pages to add an infobox in the upper right hand corner the article.
Line 22: Line 23:
| style="text-align: left; background-color: white; vertical-align: top;" |<pre>
| style="text-align: left; background-color: white; vertical-align: top;" |<pre>
{{location
{{location
| name = Character Name
|name=Character Name
| image = FILENAME.EXTENSION
|image=FILENAME.EXTENSION
| caption = Caption Here
|caption=Caption Here
| born = Date of Birth
|book=Book Name
| died = Date of Death
|series=Series Name
| spouse = Spouse's Name
|city=City Name
| parents = Parent Names
| children = Children Names
| relatives = Relatives Names
| profession = Profession Here
| titles = Titles Here
| monikers = Monikers Here
| groups = Group Affiliations
| introduced = First Appearance
| first_mentioned = First Mentioned
| last_mentioned = Last Mentioned
}}
}}
</pre>
</pre>
| style="background-color: white;" |<br>{{location
| style="background-color: white;" |<br>{{location
| name = Example Character Infobox
|name=Character Name
| image = Map of St. Crispian's.jpg
|image=Map of St. Crispian's.jpg
| caption = Caption Here
|caption=Caption Here
| born = Date of Birth
|book=Book Name
| died = Date of Death
|series=Series Name
| spouse = Spouse's Name
|city=City Name
| parents = Parent Names
| children = Children Names
| relatives = Relatives Names
| profession = Profession Here
| titles = Titles Here
| monikers = Monikers Here
| groups = Group Affiliations
| introduced = First Appearance
| first_mentioned = First Mentioned
| last_mentioned = Last Mentioned
}}
}}
|}
|}