Difference between revisions of "Template:Monster"

From playdf - wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>{{plainlink |url=https://chicken.playdf.org/?module=monster&action=view&id={{{id}}}}}</includeonly><noinclude>
+
<includeonly>{{plainlink |url=https://chicken.playdf.org/?module=monster&action=view&id={{#sub: {{{id}}}|0|{{#pos:{{{id}}}| }}}} {{#sub:{{{id}}}|{{#pos:{{{id}}}| }}}}}}</includeonly><noinclude>
 +
==Description==
 +
This template serves the purpose of shortening linkings to {{plainlink |url=https://chicken.playdf.org/?module=monster&action=view&id= Chicken DB Viewing Monster}} for the ease of article overview when editing and consistency.
 +
 
 +
====Usage====
 +
<nowiki>{{monster |id=</nowiki>''<id>''<nowiki> </nowiki>''<name>''<nowiki>}}</nowiki>
 +
 
 +
{| class="wikitable"
 +
! Example !! Output
 +
|-
 +
| <nowiki>{{monster |id=1195 Rideword}}</nowiki>
 +
|| {{monster |id=1195 Rideword}}
 +
|-
 +
| <nowiki>{{monster |id=1011 Chonchon}}</nowiki>
 +
|| {{monster |id=1011 Chonchon}}
 +
|}
 +
 
 +
====Fields====
 +
{| class="wikitable" style="text-align: left"
 +
| id || The ID# of the monster.
 +
|-
 +
| name || The full name of the monster as seen in game.
 +
|}
 +
 
 +
[[Category:Templates|Monster]]
 +
</noinclude>

Revision as of 17:25, 5 August 2020

Description

This template serves the purpose of shortening linkings to Chicken DB Viewing Monster

for the ease of article overview when editing and consistency.

Usage

{{monster |id=<id> <name>}}
Example Output
{{monster |id=1195 Rideword}} 1195 Rideword|0|{{#pos:1195 Rideword| }}}} {{#sub:1195 Rideword|{{#pos:1195 Rideword| }}}}
{{monster |id=1011 Chonchon}} 1011 Chonchon|0|{{#pos:1011 Chonchon| }}}} {{#sub:1011 Chonchon|{{#pos:1011 Chonchon| }}}}

Fields

id The ID# of the monster.
name The full name of the monster as seen in game.