Template:Location: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 14: | Line 14: | ||
-->{{#if: {{{founder|}}} |<tr class="infobox-data-row"><th>Founder</th><td>{{{founder}}}</td></tr>}}<!-- | -->{{#if: {{{founder|}}} |<tr class="infobox-data-row"><th>Founder</th><td>{{{founder}}}</td></tr>}}<!-- | ||
-->{{#if: {{{function|}}} |<tr class="infobox-data-row"><th>Function</th><td>{{{function}}}</td></tr>}}<!-- | -->{{#if: {{{function|}}} |<tr class="infobox-data-row"><th>Function</th><td>{{{function}}}</td></tr>}}<!-- | ||
-->{{#if: {{{ | |||
Notable Residents | |||
-->{{#if: {{{nr1|}}}{{{nr2|}}}{{{nr3|}}}{{{nr4|}}}{{{nr5|}}}{{{nr6|}}}{{{nr7|}}}{{{nr8|}}}{{{nr9|}}}{{{nr10|}}} |<tr class="infobox-data-row"><th>Notable Residents</th><td><!-- | |||
-->{{#if: {{{nr1|}}} |• {{{nr1}}}{{#if: {{{nr2|}}}{{{nr3|}}}{{{nr4|}}}{{{nr5|}}}{{{nr6|}}}{{{nr7|}}}{{{nr8|}}}{{{nr9|}}}{{{nr10|}}} |<br>}} }}<!-- | |||
-->{{#if: {{{nr2|}}} |• {{{nr2}}}{{#if: {{{nr3|}}}{{{nr4|}}}{{{nr5|}}}{{{nr6|}}}{{{nr7|}}}{{{nr8|}}}{{{nr9|}}}{{{nr10|}}} |<br>}} }}<!-- | |||
-->{{#if: {{{nr3|}}} |• {{{nr3}}}{{#if: {{{nr4|}}}{{{nr5|}}}{{{nr6|}}}{{{nr7|}}}{{{nr8|}}}{{{nr9|}}}{{{nr10|}}} |<br>}} }}<!-- | |||
-->{{#if: {{{nr4|}}} |• {{{nr4}}}{{#if: {{{nr5|}}}{{{nr6|}}}{{{nr7|}}}{{{nr8|}}}{{{nr9|}}}{{{nr10|}}} |<br>}} }}<!-- | |||
-->{{#if: {{{nr5|}}} |• {{{nr5}}}{{#if: {{{nr6|}}}{{{nr7|}}}{{{nr8|}}}{{{nr9|}}}{{{nr10|}}} |<br>}} }}<!-- | |||
-->{{#if: {{{nr6|}}} |• {{{nr6}}}{{#if: {{{nr7|}}}{{{nr8|}}}{{{nr9|}}}{{{nr10|}}} |<br>}} }}<!-- | |||
-->{{#if: {{{nr7|}}} |• {{{nr7}}}{{#if: {{{nr8|}}}{{{nr9|}}}{{{nr10|}}} |<br>}} }}<!-- | |||
-->{{#if: {{{nr8|}}} |• {{{nr8}}}{{#if: {{{nr9|}}}{{{nr10|}}} |<br>}} }}<!-- | |||
-->{{#if: {{{nr9|}}} |• {{{nr9}}}{{#if: {{{nr10|}}} |<br>}} }}<!-- | |||
-->{{#if: {{{nr10|}}} |• {{{nr10}}} }}<!-- | |||
--></td></tr>}}<!--<!-- | |||
-->{{#if: {{{first_mentioned|}}} |<tr class="infobox-data-row"><th>First Mentioned</th><td>{{{first_mentioned}}}</td></tr>}}<!-- | -->{{#if: {{{first_mentioned|}}} |<tr class="infobox-data-row"><th>First Mentioned</th><td>{{{first_mentioned}}}</td></tr>}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
| Line 45: | Line 58: | ||
|founder=Founder's Name | |founder=Founder's Name | ||
|function=Primary Function (Reserved for buildings.) | |function=Primary Function (Reserved for buildings.) | ||
| | |nr1=Notable Residents | ||
|nr2=Up to ten names. | |||
|first_mentioned=First Mentioned | |first_mentioned=First Mentioned | ||
}} | }} | ||
| Line 63: | Line 77: | ||
|founder=Founder's Name | |founder=Founder's Name | ||
|function=Primary Function (Reserved for buildings.) | |function=Primary Function (Reserved for buildings.) | ||
| | |nr1=Notable Residents | ||
|nr2=Up to ten names. | |||
|first_mentioned=First Mentioned | |first_mentioned=First Mentioned | ||
}} | }} | ||
| Line 97: | Line 112: | ||
|- | |- | ||
| style="text-align: center;" | <code>function</code> || It's primary function, if applicable. (i.e., Bookshop, Bakery, Tea House, etc.) | | style="text-align: center;" | <code>function</code> || It's primary function, if applicable. (i.e., Bookshop, Bakery, Tea House, etc.) | ||
|- | |||
| style="text-align: center;" | <code>nr1=</code>, <code>nr2=</code>, <code>nr3=</code>, etc. || Notable Residents, up to ten names. | |||
|- | |- | ||
| style="text-align: center;" | <code>first_mentioned</code> || Where the location was first mentioned (e.g., book, chapter, etc.). | | style="text-align: center;" | <code>first_mentioned</code> || Where the location was first mentioned (e.g., book, chapter, etc.). | ||
Revision as of 02:21, 17 April 2025
Description
This template should be used on location pages to add an infobox in the upper right hand corner the article.
Usage
The template has several parameters that can be used.
- Note: Only fields that are provided will appear in the infobox. Not all parameters are required for each location.
| You Type | You Get | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{location
|name=Location Name
|image=FILENAME.EXTENSION
|caption=Caption Here
|book=Book Title
|series=Series Title
|location=Location Name
|city=City Name
|county=County Name
|region=Region Name
|country=Country Name
|established=Year Established
|founder=Founder's Name
|function=Primary Function (Reserved for buildings.)
|nr1=Notable Residents
|nr2=Up to ten names.
|first_mentioned=First Mentioned
}}
|
| ||||||||||||||||||||||||||||||
Parameters
| Parameter | Description |
|---|---|
name |
The character's name. |
image |
Filename of the character's image (e.g., `File:Example.jpg`). |
caption |
Caption for the image. |
book |
What book the location is from. Use abbreviation(s) from Template:B. |
series |
What series the location is from. Use abbreviation(s) from Template:B. |
location |
Where it is located, if applicable. |
city |
The city it is located in, if applicable. |
county |
The county it is located in, if applicable. |
region |
The region it is located in, if applicable. |
country |
The country it is located in, if applicable. |
established |
The year it was established, if applicable. |
founder |
The name of the founder, if applicable. |
function |
It's primary function, if applicable. (i.e., Bookshop, Bakery, Tea House, etc.) |
nr1=, nr2=, nr3=, etc. |
Notable Residents, up to ten names. |
first_mentioned |
Where the location was first mentioned (e.g., book, chapter, etc.). |
Articles using Template
- St. Crispian's (transclusion) (← links | edit)
- Lapis Lazuli Minor (transclusion) (← links | edit)
- The Reed and Rite (transclusion) (← links | edit)
- Fortitude Preparatory School for Girls (transclusion) (← links | edit)
