Difference between revisions of "Template:Infobox Location"

From Corruption of Champions II
Jump to navigation Jump to search
(Undo revision 4830 by Spacecraft Maintenance (talk) it doesn't work that way)
(Added more info)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|bodystyle   = border-spacing: 2px 5px;
+
|bodystyle = border-spacing: 2px 5px;
 
 
 
| above = {{{name|}}}
 
| above = {{{name|}}}
 
 
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
 
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
 
 
| caption = {{{caption|}}}
 
| caption = {{{caption|}}}
 
 
| label1 = Region
 
| label1 = Region
 
| data1 = {{{region |}}}
 
| data1 = {{{region |}}}
 
 
| label2 = Level range  
 
| label2 = Level range  
 
| data2 = {{{levelRange |}}}
 
| data2 = {{{levelRange |}}}
 
 
| label3 = Accessible from
 
| label3 = Accessible from
 
| data3 = {{{accessibleFrom|}}}
 
| data3 = {{{accessibleFrom|}}}
 
 
| label4 = Leads to
 
| label4 = Leads to
 
| data4 = {{{leadsTo|}}}
 
| data4 = {{{leadsTo|}}}
 +
| label5 = Neutral Hub
 +
| data5 = {{{neutralHub|}}}
 
}}<noinclude>
 
}}<noinclude>
 
== Usage ==
 
== Usage ==
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Infobox Location
 
{{Infobox Location
Line 29: Line 23:
 
| region = Region
 
| region = Region
 
| levelRange = Level Range
 
| levelRange = Level Range
| accesibleFrom = list of locations
+
| accessibleFrom = List of locations that the Champion can come from. Note that locations that can be accessed back and forth should be placed here (I.E. The Frost Hound Tavern to Hawkethorne and vice-versa).
| leadsTo = list of locations
+
| leadsTo = List of locations that the Champion can go to exclusively. Note that locations listed in accessibleFrom should not repeat here
 +
| neutralHub = Yes or No, if location is safe or will not initiate random combat encounters
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
 
</noinclude>
 
</noinclude>

Revision as of 06:37, 29 June 2019

Usage

{{Infobox Location
| name = Location Name
| image = missing.png
| caption = Caption Text
| region = Region
| levelRange = Level Range
| accessibleFrom = List of locations that the Champion can come from. Note that locations that can be accessed back and forth should be placed here (I.E. The Frost Hound Tavern to Hawkethorne and vice-versa).
| leadsTo = List of locations that the Champion can go to exclusively. Note that locations listed in accessibleFrom should not repeat here
| neutralHub = Yes or No, if location is safe or will not initiate random combat encounters
}}