Template: Location map: Difference between revisions

From A Wiki of Ice and Fire
Jump to: navigation, search
Scafloc (talk | contribs)
No edit summary
Abjiklam (talk | contribs)
No edit summary
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table class="infobox" style="width: 25em; text-align: left">
<includeonly>{{location map+
<caption style="font-size: larger;"><span style="display:none;">'''Character name''' </span>'''''{{{Character_name}}}'''''</caption><!--
| {{{1|World}}}
-->{{#if: {{{image|}}} |<tr><td colspan=3 style="text-align: center">{{{image}}}
| border = {{{border|}}}
{{#if: {{{image_caption|}}} | <br> {{{image_caption}}} }}</td></tr>}}<!--
| alt = {{{alt|}}}
-->{{#if:{{{Alias|}}}|<tr><th>Alias:</th><td>{{{Alias}}}</td></tr>}}<!--
| caption_undefined = {{#ifeq: {{{caption|+}}} | {{{caption|-}}} || defined }}
-->{{#if:{{{Title|}}}|<tr><th>Title:</th><td>{{{Title|}}}</td></tr>}}<!--
| caption = {{{caption|}}}
-->{{#if:{{{Allegiance|}}}|<tr><th>Allegiance:</th><td>{{{Allegiance|}}}</td></tr>}}<!--
| label = {{{label|}}}
-->{{#if:{{{Race|}}}|<tr><th>Race:</th><td>{{{Race|}}}</td></tr>}}<!--
| float = {{{float|}}}
-->{{#if:{{{Culture|}}}|<tr><th>Culture:</th><td>{{{Culture|}}}</td></tr>}}<!--
| width = {{{width|}}}
-->{{#if:{{{Place_of_Birth|}}}|<tr><th>Place of birth:</th><td>{{{Place_of_Birth|}}}</td></tr>}}<!--
| relief= {{{relief|}}}
-->{{#if:{{{Date_of_Birth|}}}|<tr><th>Date of birth:</th><td>{{{Date_of_Birth|}}}</td></tr>}}<!--
| AlternativeMap = {{{AlternativeMap|}}}
-->{{#if:{{{Place_of_Death|}}}|<tr><th>Place of death:</th><td>{{{Place_of_Death|}}}</td></tr>}}<!--
| overlay_image = {{{overlay_image|}}}
-->{{#if:{{{Date_of_Death|}}}|<tr><th>Date of death:</th><td>{{{Date_of_Death|}}}</td></tr>}}<!--
| places = {{Location map~
-->{{#if:{{{Spouse|}}}|<tr><th>{{nowrap|Spouse:}}</th><td>{{{Spouse|}}}</td></tr>}}<!--
  | {{{1|World}}}
-->{{#if:{{{Books|}}}|<tr><th>{{nowrap|Book(s):}}</th><td>{{{Books|}}}</td></tr>}}<!--
  | label = {{{label|}}}
-->{{#if:{{{n1|}}}|<tr><th>nieuw&nbsp;tekst</th><td>''{{{n1|}}}''</td></tr>}}
  | label_size = {{{label_size|}}}
</table><noinclude>
  | label_width = {{{label_width|}}}
 
  | mark = {{#ifexist:media:{{{mark}}}|{{{mark}}}|Red pog.png}} <!-- I'd rather not user this, but its needed to work around some typos-->
==Usage==
  | marksize = {{{marksize|}}}
 
  | alt = {{{alt|}}}
<pre style="width:35em">
  | position = {{{position|}}}
{{Character
  | background = {{{background|}}}
| Character_name          =
  | link = {{{link|}}}
| image        =
  | lat_dir = {{{lat_dir|}}}
| image_caption =
  | lat_deg = {{{lat_deg|}}}
| Alias =
  | lat_min = {{{lat_min|}}}
| Title =
  | lat_sec = {{{lat_sec|}}}
| Allegiance =
  | lon_deg = {{{lon_deg|}}}
| Race =
  | lon_min = {{{lon_min|}}}
| Culture =
  | lon_sec = {{{lon_sec|}}}
| Spouse =
  | lon_dir = {{{lon_dir|}}}
| Place_of_Birth =
  | lat = {{{lat|}}}
| Date_of_Birth =
  | long = {{{long|}}}
| Place_of_Death =
  }}
| Date_of_Death =
}}</includeonly><noinclude>{{documentation}}</noinclude>
| Books =
}}
</pre>
 
See the talk page for more thorough documentation.
 
Please do not make major changes to the infobox without proposing and discussing it on the talk page first.
 
[[Category:Templates]]
 
</noinclude>

Latest revision as of 21:23, 19 October 2022