Difference between revisions of "Template:Infobox Location"

From Corruption of Champions II
Jump to navigation Jump to search
(trying to put the image below the information because the image pushes it too far down if it's big)
(added contributors and versionadded parameters)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|bodystyle   = border-spacing: 2px 5px;
+
|bodystyle = border-spacing: 2px 5px;
 
 
 
| above = {{{name|}}}
 
| above = {{{name|}}}
 
| label1 = Region
 
| data1 = {{{region |}}}
 
 
| label2 = Level range
 
| data2 = {{{levelRange |}}}
 
 
| label3 = Accessible from
 
| data3 = {{{accessibleFrom|}}}
 
 
| label4 = Leads to
 
| data4 = {{{leadsTo|}}}
 
 
 
| 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
 +
| data1 = {{{author |}}}
 +
| label2 = Contributors
 +
| data2 = {{{contributors|}}}
 +
| label3 = Region
 +
| 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>
 
}}<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
 
| 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
 +
| 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
}}