Template:Mobdesc: Difference between revisions

1,872 bytes added ,  20:19, 24 April 2020
Added includeonly-tags. Fixed typo in code (bgcolor2-default value including semicolon)
No edit summary
(Added includeonly-tags. Fixed typo in code (bgcolor2-default value including semicolon))
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly> {{name={{{name}}}|image={{{image}}}|sideimage={{{sideimage|}}}|bgcolor1={{{bgcolor1}}}|bgcolor2={{{bgcolor2}}}|disposition={{{disposition}}}|usedfor={{{usedfor}}}description={{{description}}}}}</includeonly><noinclude>
<includeonly>{| style="border:3px solid {{{bordercolor|#170B3B}}};" cellpadding="2" cellspacing="0" width=650
|


A basic template for mob descriptions</noinclude>
{|width = "100%" cellspacing="0" cellpadding="2" width=650
|align=center width="120" style="background-color:{{{bgcolor|#bbbbbb}}};"|'''{{{name|<UNDEFINED>}}}'''
[[File:{{{image|undefined.png}}}]]<br>
|  '''Trinomial name: '''
{{{trinname|<UNDEFINED>}}}<br>
|  '''Scientific classification: '''
{{{sciclass|<UNDEFINED>}}}
|-
|  '''Mob names'''
{{{namedmobs|N/A}}}
|-
{|width = "100%" cellspacing="0" cellpadding="2" width=300
| style="background-color:{{{bgcolor2|#bbbbbb}}};" |'''Disposition:'''
|{{{disposition|<UNDEFINED>.}}}<br>
|}
{| style="border:3px solid #FFDD66" cellpadding="2" cellspacing="0" width=650
{|width = "100%" cellspacing="0" cellpadding="2" width=650
| style="background-color:{{{bgcolor2|#bbbbbb}}};" |'''Behaviour'''
|-
|{{{behaviour|<UNDEFINED>}}}
|-
{| style="border:3px solid #FFDD66" cellpadding="2" cellspacing="0" width=650
{|width = "100%" cellspacing="0" cellpadding="2" width=650
| style="background-color:{{{bgcolor2|#bbbbbb}}};" |'''Description'''
|-
|{{{description|<UNDEFINED>}}}
|}
|}</includeonly><noinclude>
{{Needs revision
|reason = Where is this template used? Maybe it should get repurposed / removed? There are still details missing in the documentation.
|user = [[User:Helpful Herbert|Helpful Herbert]] ([[User talk:Helpful Herbert|talk]]) 20:19, 24 April 2020 (UTC)
}}
 
== About ==
A basic template for mob descriptions.
 
== Parameter-Usage ==
{| class="wikitable"
!Parameter
!Default
!Description
|-
!bordercolor
|#170B3B
|
|-
!bgcolor
|#bbbbbb
|
|-
!name
|<UNDEFINED>
|
|-
!image
|undefined.png
|
|-
!trinname
|<UNDEFINED>
|Trinomial name
|-
!sciclass
|<UNDEFINED>
|Scientific classification
|-
!namedmobs
|N/A
|Mob names
|-
!bgcolor2
|#bbbbbb
|
|-
!disposition
|<UNDEFINED>
|Disposition - '''TODO:''' Add details
|-
!behaviour
|<UNDEFINED>
|Behaviour - '''TODO:''' Add details
|-
!description
|<UNDEFINED>
|Description - '''TODO:''' Add details
|-
!
|
|
|}
 
== Examples ==
=== Bare ===
<pre>{{Mobdesc}}</pre>
{{Mobdesc}}
 
=== Normal ===
TODO: Missing
 
[[Category:Templates]]
</noinclude>
1,133

edits