Difference between revisions of "Template:5e Location List/format"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Created page with "<noinclude> <!-- 5e_Location._pageName 5e_Location.Name 5e_Location.Alt_Name 5e_Location.Type 5e_Location.LSetting 5e_Location.Plane 5e_Location.World 5e_Location.Continent 5e...")
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<!--
 
<!--
5e_Location._pageName
+
1. Name
5e_Location.Name
+
2. AKA
5e_Location.Alt_Name
+
3. Type
5e_Location.Type
+
4. Setting
5e_Location.LSetting
+
5. Plane
5e_Location.Plane
+
6. World
5e_Location.World
+
7. Continent
5e_Location.Continent
+
8. Region
5e_Location.Region
+
9. Nation
5e_Location.Nation
+
10. Subregion
5e_Location.Subregion
+
11. Canon
Pages_Info.Canon
+
12. Pointer
Pages_Info.Pointer
+
13. UA
Pages_Info.UA
+
14. User
Pages_Info.User
+
15. Sources
Pages_Info.Sources
 
 
-->
 
-->
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{!}}valign="top"{{!}}[[{{{_pageName}}}{{!}}{{#if: {{{Name|}}}|{{{Name}}}|{{{_pageName}}}}}]]
+
{{!}}valign="top"{{!}}{{{1|}}}
{{!}}valign="top"{{!}}{{{Alt Name|}}}
+
{{!}}valign="top"{{!}}{{{2|}}}
{{!}}valign="top"{{!}}{{{Type|}}}
+
{{!}}valign="top"{{!}}{{{3|}}}
{{!}}valign="top"{{!}}{{{LSetting|}}}
+
{{!}}valign="top"{{!}}{{{4|}}}
{{!}}valign="top"{{!}}{{{Plane|}}}
+
{{!}}valign="top"{{!}}{{{5|}}}
{{!}}valign="top"{{!}}{{{World|}}}
+
{{!}}valign="top"{{!}}{{{6|}}}
{{!}}valign="top"{{!}}{{{Continent|}}}
+
{{!}}valign="top"{{!}}{{{7|}}}
{{!}}valign="top"{{!}}{{{Region|}}}
+
{{!}}valign="top"{{!}}{{{8|}}}
{{!}}valign="top"{{!}}{{{Nation|}}}
+
{{!}}valign="top"{{!}}{{{9|}}}
{{!}}valign="top"{{!}}{{{Subregion|}}}
+
{{!}}valign="top"{{!}}{{{10|}}}
{{!}}valign="top"{{!}}{{#ifeq: {{{Canon|}}}|1|Canon{{#ifeq: {{{Pointer|}}}|1|, Pointer|}}|{{#ifeq:{{{Pointer}}}|1|Pointer|}}|}}{{#ifeq: {{{User}}}|1|, UA|}}{{#ifeq: {{{User|}}}|1|User Creation|}}
+
{{!}}valign="top"{{!}}{{#ifeq: {{{11|}}}|1|Canon{{#ifeq: {{{12|}}}|1|, Pointer|}}|{{#ifeq:{{{12}}}|1|Pointer|}}|}}{{#ifeq: {{{13}}}|1|, UA|}}{{#ifeq: {{{14|}}}|1|User Creation|}}
{{!}}valign="top"{{!}}{{#if: {{{Sources|}}}|{{Source Array|{{{Sources}}}}}|}}
+
{{!}}valign="top"{{!}}{{#if: {{{15|}}}|{{Source Array|{{{15}}}}}|}}
<!--{{!}}valign="top"{{!}}{{#arraymap: {{{Domains|}}}|,|xDom|{{5ep|xDom Domain|xDom}}}}-->
 
 
{{!}}-</includeonly><noinclude>{{tocright}}
 
{{!}}-</includeonly><noinclude>{{tocright}}
 
==Use==
 
==Use==
 
Called from location list
 
Called from location list
 
==Syntax==
 
==Syntax==
<pre>{{5e Location List/format
+
<pre><pre>
|_pageName=
+
{{5e Location List/format
|Name=
+
|<!--Name-->
|Alt_Name=
+
|<!--AKA-->
|Type=Castle
+
|<!--Type-->
|LSetting=
+
|<!--Setting-->
|Plane=
+
|<!--Plane-->
|World=
+
|<!--World-->
|Continent
+
|<!--Continent-->
|Region=
+
|<!--Region-->
|Nation=
+
|<!--Nation-->
|Subregion=
+
|<!--Subregion-->
|Canon=
+
|<!--Canon-->
|Pointer=
+
|<!--Pointer-->
|UA=
+
|<!--UA-->
|User=
+
|<!--User-->
|Sources=
+
|<!--Sources-->
}}</pre>
+
}}
 +
</pre></pre>
  
 
==Example==
 
==Example==
 
<pre>
 
<pre>
 
{{5e Location List/format
 
{{5e Location List/format
|_pageName=5e:Foo
+
|<!--Name-->5e:Foo
|Name=Foo
+
|<!--AKA-->Fooland, Fooshiem
|Alt_Name=Fooland, Fooshiem
+
|<!--Type-->Castle
|Type=Castle
+
|<!--Setting-->Faevor
|LSetting=Faevor
+
|<!--Plane-->Feywild
|Plane=Feywild
+
|<!--World-->
|World=
+
|<!--Continent-->
|Continent
+
|<!--Region-->Bar
|Region=Bar
+
|<!--Nation-->Stone Court
|Nation=Stone Court
+
|<!--Subregion-->Stone Hills
|Subregion=Stone Hills
+
|<!--Canon-->
|Canon=
+
|<!--Pointer-->True
|Pointer=True
+
|<!--UA-->
|UA=
+
|<!--User-->
|User=
+
|<!--Sources-->Foo's Guide to Nothing
|Sources=Foo's Guide to Nothing
+
}}
}}</pre>
+
</pre>
  
 
{|class="zebra small"
 
{|class="zebra small"
Line 91: Line 90:
 
|-
 
|-
 
{{5e Location List/format
 
{{5e Location List/format
|_pageName=5e:Foo
+
|<!--Name-->5e:Foo
|Name=Foo
+
|<!--AKA-->Fooland, Fooshiem
|Alt_Name=Fooland, Fooshiem
+
|<!--Type-->Castle
|Type=Castle
+
|<!--Setting-->Faevor
|LSetting=Faevor
+
|<!--Plane-->Feywild
|Plane=Feywild
+
|<!--World-->
|World=
+
|<!--Continent-->
|Continent
+
|<!--Region-->Bar
|Region=Bar
+
|<!--Nation-->Stone Court
|Nation=Stone Court
+
|<!--Subregion-->Stone Hills
|Subregion=Stone Hills
+
|<!--Canon-->
|Canon=
+
|<!--Pointer-->True
|Pointer=True
+
|<!--UA-->
|UA=
+
|<!--User-->
|User=
+
|<!--Sources-->Foo's Guide to Nothing
|Sources=Foo's Guide to Nothing
 
 
}}
 
}}
 
|}
 
|}

Revision as of 04:08, 17 March 2024

Use

Called from location list

Syntax

<pre>
{{5e Location List/format
|<!--Name-->
|<!--AKA-->
|<!--Type-->
|<!--Setting-->
|<!--Plane-->
|<!--World-->
|<!--Continent-->
|<!--Region-->
|<!--Nation-->
|<!--Subregion-->
|<!--Canon-->
|<!--Pointer-->
|<!--UA-->
|<!--User-->
|<!--Sources-->
}}
</pre>

Example

{{5e Location List/format
|<!--Name-->5e:Foo
|<!--AKA-->Fooland, Fooshiem
|<!--Type-->Castle
|<!--Setting-->Faevor
|<!--Plane-->Feywild
|<!--World-->
|<!--Continent-->
|<!--Region-->Bar
|<!--Nation-->Stone Court
|<!--Subregion-->Stone Hills
|<!--Canon-->
|<!--Pointer-->True
|<!--UA-->
|<!--User-->
|<!--Sources-->Foo's Guide to Nothing
}}
Location A.K.A. Type Setting Plane World Continent Region Nation Subregion Notes Sources
5e:Foo Fooland, Fooshiem Castle Faevor Feywild Bar Stone Court Stone Hills Pointer Foo's Guide to Nothing