Abrir menu principal

UESPWiki β

Alterações

Utilizador:Timenn/Sandbox/Template/1/Doc

3 113 bytes adicionados, 15h16min de 17 de setembro de 2008
m
Fixed links
__TOC__
== Summary ==
This template will create an infobox for three specific types of articles about the Oblivion Worlds. Type "World" will cover articles about the twelve exterior worlds including all non-random towers and caves. Type "Caves" will cover articles describing
the random cave sections that are used to generate the random tunnels found in Oblivion. Type "Tower" will cover the articles about the main towers found in all Oblivion worlds.

== Parameters ==
{| class="wikitable"
!colspan="3"| Template:Oblivion World Summary
|-
! Parameter !! Scope !! Description
|-
| <code>altname</code>
| Optional
| Value of <code>altname</code> is used instead the article's name.
|-
| <code>type</code>
| Always required
| Possible values: '''World''', '''Caves''' or '''Tower'''<br />Determines behavior of generated infobox.
|-
|rowspan="2"| <code>amount</code>
| Required if <code>type</code> is '''Caves'''
| Amount of possible caves sections.
|-
| Required if <code>type</code> is '''Tower'''
| Amount of interior cells the Main Tower consists of.
|-
| <code>cavesamount</code>
| Required if <code>type</code> is '''World'''<br />(otherwise ignored)
| Amount of non-random cave sections that can be found in the described Oblivion world.
|-
| <code>towersamount</code>
| Required if <code>type</code> is '''World'''<br />(otherwise ignored)
| Amount of peripheral towers that can be found in the described Oblivion World.
|-
| <code>locationcode</code>
| Always required
| Console location codes.
|-
| <code>treasure</code>
| Optional
| Information on important treasure that can be found.
|-
| <code>access</code>
| Optional<br />(ignored if <code>type</code> is not '''World''')
| Fixed gate that always connects to this Oblivion world.
|-
| <code>image</code>
| Optional
| Image that will appear upper-left.
|-
| <code>imgdesc</code>
| Optional<br />(ignored if <code>image</code> is not given)
| Description for the given image.
|}

== Code example ==
<pre>{{Oblivion World Summary
| altname = Example Oblivion World
| type = World
| cavesamount = 2
| towersamount = 3
| locationcode =
ExampleLocation01<br />
ExampleLocation02
| treasure = 1 [[Oblivion:Planes of Oblivion#Boss The Punished|The Punished]] Boss container in Main Tower.
| access = The fixed gate outside [[Oblivion:Skingrad|]] always connects to this World.
| image = OB-Img-OblivionWorld4.jpg
| imgdesc = First sight of this Oblivion World.
|}</pre>

== Appearance example ==
{{NewLeft}}{{NewRight}}
{{User:Timenn/Sandbox/Template/1
| altname = Example Oblivion World
| type = World
| cavesamount = 2
| towersamount = 3
| locationcode =
ExampleLocation01<br />
ExampleLocation02
| treasure = 1 [[Oblivion:Planes of Oblivion#Boss The Punished|The Punished]] Boss container in Main Tower.
| access = The fixed gate outside [[Oblivion:Skingrad|Skingrad]] always connects to this World.
| image = OB-Img-OblivionWorld4.jpg
| imgdesc = First sight of this Oblivion World.
}}
<!--<includeonly>[[Category:Infobox Templates|Oblivion Places Summary]]</includeonly><noinclude>[[Category:Template Documentation|{{BASEPAGENAME}}]]</noinclude>-->