Template:Mobdesc: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
mNo edit summary
(Added includeonly-tags. Fixed typo in code (bgcolor2-default value including semicolon))
 
Line 1: Line 1:
{| style="border:3px solid {{{bordercolor|#170B3B}}};" cellpadding="2" cellspacing="0" width=650  
<includeonly>{| style="border:3px solid {{{bordercolor|#170B3B}}};" cellpadding="2" cellspacing="0" width=650  
  |
  |


Line 14: Line 14:
|-
|-
{|width = "100%" cellspacing="0" cellpadding="2" width=300
{|width = "100%" cellspacing="0" cellpadding="2" width=300
| style="background-color:{{{bgcolor2|#bbbbbb;}}}" |'''Disposition:'''
| style="background-color:{{{bgcolor2|#bbbbbb}}};" |'''Disposition:'''
|{{{disposition|<UNDEFINED>.}}}<br>
|{{{disposition|<UNDEFINED>.}}}<br>
|}
|}
Line 29: Line 29:
|{{{description|<UNDEFINED>}}}
|{{{description|<UNDEFINED>}}}
|}
|}
|}<noinclude>
|}</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)
}}


A basic template for mob descriptions<br>
== About ==
It looks odd in here, but functions when used on another page.<br>
A basic template for mob descriptions.


The things you can define are<br>
== Parameter-Usage ==
IF NOT DEFINED IT WILL SAY <UNDEFINED> <br>
{| class="wikitable"
*name
!Parameter
*trinname (Trinomial name)
!Default
*sciclass (Scientific classification)
!Description
*disposition
|-
*behaviour
!bordercolor
*description
|#170B3B
IF NOT DEFINED IT WILL SAY N/A<br>
|
*namedmobs (For named instances of the mob)
|-
IF NOT DEFINED IT WILL NOT SHOW OR SHOW [[FILE: <br>
!bgcolor
*image
|#bbbbbb
IF NOT DEFINED IT WILL DEFAULT TO COLOR:<br>
|
*bordercolor (Will default to dark purple-ish)
|-
*backgroundcolor (The colour behind the text. Will default to gray.)
!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]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:19, 24 April 2020


Pen.png This page needs revising!

The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example.
The revision reason is: "Where is this template used? Maybe it should get repurposed / removed? There are still details missing in the documentation."
Marked by: "Helpful Herbert (talk) 20:19, 24 April 2020 (UTC)"



About

A basic template for mob descriptions.

Parameter-Usage

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

{{Mobdesc}}
<UNDEFINED>

Undefined.png

Trinomial name:

<UNDEFINED>

Scientific classification:

<UNDEFINED>

Mob names

N/A

Disposition: <UNDEFINED>.
Behaviour
<UNDEFINED>
Description
<UNDEFINED>

Normal

TODO: Missing