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: | }}<!-- | ||
-->{{#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 | ||
| | |book=Book Name | ||
| | |series=Series Name | ||
| | |city=City Name | ||
}} | }} | ||
</pre> | </pre> | ||
| style="background-color: white;" |<br>{{location | | style="background-color: white;" |<br>{{location | ||
| name = | |name=Character Name | ||
| image = Map of St. Crispian's.jpg | |image=Map of St. Crispian's.jpg | ||
| caption = Caption Here | |caption=Caption Here | ||
| | |book=Book Name | ||
| | |series=Series Name | ||
| | |city=City Name | ||
}} | }} | ||
|} | |} | ||