Difference between revisions of "Template:NPCLocationList"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{TemplateDocumentation | <noinclude>{{TemplateDocumentation | ||
|name = | |name = NPCLocationList | ||
|description = This template is used to generate the locations for | |description = This template is used to generate the locations for NPCs | ||
|category= | |category=NPC and Monster Templates | ||
|example1 = <nowiki>{{ | |example1 = <nowiki>{{NPCLocationList|The Harbor}}</nowiki> | ||
|example1output = {{ | |example1output = {{NPCLocationList|The Harbor}} | ||
|example2 = <nowiki>{{ | |example2 = <nowiki>{{NPCLocationList|The Marketplace||Eveningstar||Eberron Hall of Heroes|Hall of Heroes (Eberron)|Hall of Heroes (Forgotten Realms)||Clifftop Tower District|Sharn - Clifftop Tower District|The Keep on the Borderlands}}</nowiki> | ||
|example2output = {{ | |example2output = {{NPCLocationList|The Marketplace||Eveningstar||Eberron Hall of Heroes|Hall of Heroes (Eberron)|Hall of Heroes (Forgotten Realms)||Clifftop Tower District|Sharn - Clifftop Tower District|The Keep on the Borderlands}} | ||
|parameter1name = Name of the location | |parameter1name = Name of the location | ||
|parameter1description = This is the name of the location - Can repeat 10 times | |parameter1description = This is the name of the location - Can repeat 10 times | ||
|parameter2name = Page Name | |parameter2name = Page Name | ||
|parameter2description = This is the name of the page if it is not the same as the name - Can repeat 10 times | |parameter2description = This is the name of the page if it is not the same as the name - Can repeat 10 times | ||
}}</noinclude><onlyinclude>* {{PageLink|{{{1}}}|{{{2|}}}}}{{#if: {{{3|}}}|* {{PageLink|{{{3}}}|{{{4|}}}}}}}{{#if: {{{5|}}}|* {{PageLink|{{{5}}}|{{{6|}}}}}}}{{#if: {{{7|}}}|* {{PageLink|{{{7}}}|{{{8|}}}}}}}{{#if: {{{9|}}}|* {{PageLink|{{{9}}}|{{{10|}}}}}}}{{#if: {{{11|}}}|* {{PageLink|{{{11}}}|{{{12|}}}}}}}{{#if: {{{13|}}}|* {{PageLink|{{{13}}}|{{{14|}}}}}}}{{#if: {{{15|}}}|* {{PageLink|{{{15}}}|{{{16|}}}}}}}{{#if: {{{17|}}}|* {{PageLink|{{{17}}}|{{{18|}}}}}}}{{#if: {{{19|}}}|* {{PageLink|{{{19}}}|{{{20|}}}}}}}{{#ifeq: {{FULLPAGENAME}} |Template: | }}</noinclude><onlyinclude>* {{PageLink|{{{1}}}|{{{2|}}}}}{{#if: {{{3|}}}|* {{PageLink|{{{3}}}|{{{4|}}}}}}}{{#if: {{{5|}}}|* {{PageLink|{{{5}}}|{{{6|}}}}}}}{{#if: {{{7|}}}|* {{PageLink|{{{7}}}|{{{8|}}}}}}}{{#if: {{{9|}}}|* {{PageLink|{{{9}}}|{{{10|}}}}}}}{{#if: {{{11|}}}|* {{PageLink|{{{11}}}|{{{12|}}}}}}}{{#if: {{{13|}}}|* {{PageLink|{{{13}}}|{{{14|}}}}}}}{{#if: {{{15|}}}|* {{PageLink|{{{15}}}|{{{16|}}}}}}}{{#if: {{{17|}}}|* {{PageLink|{{{17}}}|{{{18|}}}}}}}{{#if: {{{19|}}}|* {{PageLink|{{{19}}}|{{{20|}}}}}}}{{#ifeq: {{FULLPAGENAME}} |Template:NPCLocationList||[[Category:{{{1}}} NPC's]]{{#if: {{{3|}}}|[[Category:{{{3}}} NPC's]]}}{{#if: {{{5|}}}|[[Category:{{{5}}} NPC's]]}}{{#if: {{{7|}}}|[[Category:{{{7}}} NPC's]]}}{{#if: {{{9|}}}|[[Category:{{{9}}} NPC's]]}}{{#if: {{{11|}}}|[[Category:{{{11}}} NPC's]]}}{{#if: {{{13|}}}|[[Category:{{{13}}} NPC's]]}}{{#if: {{{15|}}}|[[Category:{{{15}}} NPC's]]}}{{#if: {{{17|}}}|[[Category:{{{17}}} NPC's]]}}{{#if: {{{19|}}}|[[Category:{{{19}}} NPC's]]}}}}</onlyinclude> |
Latest revision as of 00:20, 22 March 2022
NPCLocationList[edit]
This template is used to generate the locations for NPCs
Example Usage | |
{{NPCLocationList|The Harbor}} | * The Harbor |
{{NPCLocationList|The Marketplace||Eveningstar||Eberron Hall of Heroes|Hall of Heroes (Eberron)|Hall of Heroes (Forgotten Realms)||Clifftop Tower District|Sharn - Clifftop Tower District|The Keep on the Borderlands}} | * The Marketplace |
Usage[edit]
{{NPCLocationList|(Name of the location)|(Page Name)}}
Parameter Documentation | |
Name of the location | This is the name of the location - Can repeat 10 times |
Page Name | This is the name of the page if it is not the same as the name - Can repeat 10 times |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
* [[{{{1}}}]]