Difference between revisions of "Template:Infobox Location"

From Corruption of Champions II
Jump to navigation Jump to search
(added contributors and versionadded parameters)
 
(15 intermediate revisions by 3 users not shown)
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 = Author
| label1 = Level Range
+
| data1 = {{{author |}}}
| data1 = {{{levelRange |}}}
+
| label2 = Contributors
}}
+
| data2 = {{{contributors|}}}
 
+
| label3 = Region
<noinclude>
+
| data3 = {{{region |}}}
 +
| label4 = Level range
 +
| data4 = {{{levelRange |}}}
 +
| label5 = Accessible from
 +
| data5 = {{{accessibleFrom|}}}
 +
| label6 = Leads to
 +
| data6 = {{{leadsTo|}}}
 +
| label7 = Neutral Hub
 +
| data7 = {{{neutralHub|}}}
 +
| label8 = Operation Hours
 +
| data8 = {{{opHrs|}}}
 +
| label9 = Version Added
 +
| label10 = {{{versionadded|}}}
 +
}}<noinclude>
 
== Usage ==
 
== Usage ==
 
+
<pre><nowiki>
<pre>
 
<nowiki>
 
 
{{Infobox Location
 
{{Infobox Location
 
| name = Location Name
 
| name = Location Name
 
| image = missing.png
 
| image = missing.png
| caption = Caption text
+
| caption = Caption Text
 +
| author = Author of the location
 +
| contributors = Contributors of the location
 +
| region = Region
 
| levelRange = Level Range
 
| 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
 +
| opHrs = Operation Hours for certain locations
 +
| versionadded = Version history behind it
 
}}
 
}}
</nowiki>
+
</nowiki></pre>
</pre>
 
 
</noinclude>
 
</noinclude>

Latest revision as of 01:24, 28 March 2021

Usage

{{Infobox Location
| name = Location Name
| image = missing.png
| caption = Caption Text
| author = Author of the location
| contributors = Contributors of the location
| 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
| opHrs = Operation Hours for certain locations 
| versionadded = Version history behind it
}}