Template:TestThisTemplate.dpl: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Aramachus template testing |
imported>Aramachus end testing, cleared template |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude><includeonly><!-- |
|||
--><div class="ffxi-border-box" style="margin:0.5em; border-radius:5px; background:#FFF; float:{{default|{{{float|}}}|right}};"><!-- |
|||
--><div style="background:#D2E8E8; border-radius:5px; padding:0.2em; margin:0.1em;"><!-- |
|||
-->{{#if:{{{image|}}}|[[File:{{{image}}}|{{default|{{{imagewidth|}}}|300}}{{#if:{{{imageheight|}}}|x{{{imageheight}}}}}px]]|{{NPC-image-stub}}}}<!-- |
|||
--><div style="text-align:center;">'''''{{default|{{{name|}}}|{{PAGENAME}}}}'''''</div><!-- |
|||
--> |
|||
</div></div><!-- |
|||
--></includeonly></onlyinclude> |
|||
[[Category:Templates|{{PAGENAMEE}}]] |
|||
==Usage== |
|||
<pre> |
|||
{{Infobox Place |
|||
| image = |
|||
| name = |
|||
| type = |
|||
}} |
|||
</pre> |
|||
*'''image:''' An image of the NPC in-game. |
|||
*'''name:''' The NPC's name. Defaults to the page's name. |
|||
*'''gender:''' The NPC's gender. "Male," "Female," "Unknown" or "Not applicable". |
|||
*'''race:''' The NPC's [[race]], such as "Elvaan". |
|||
*'''bestiary:''' The NPC's [[bestiary]] classification, if not one of the playable races. |
|||
*'''job:''' The [[job]] or jobs of the NPC, such as "Black Mage". |
|||
*'''affiliation:''' The NPC's national affiliation. |
|||
*'''occupation:''' The NPC's occupation, role, or position in society. |
|||
*'''status:''' "Alive", "Undead", "Active" (when referring to gods, demigods and related beings), "Imprisoned," "Deceased" or "Unknown." If imprisoned or deceased a ''short'' summary can be included. |
|||
*'''relatives:''' Spouses, siblings, parents, children, any other family members. If the character wields magic, was apprenticed to someone, or had an apprentice, then that person's teacher and/or student can be listed here. Please put the relationship in parenthesis. |
|||
===Examples=== |
|||
<pre> |
|||
{{Infobox POI |
|||
| image = Muckviks.webp |
|||
| name = Muckvix Junk Shop |
|||
| type = Shop |
|||
}} |
|||
</pre> |
|||
{{TestThisTemplate.dpl|nc |
|||
| image = Muckviks.webp |
|||
| name = Muckvix Junk Shop |
|||
| type = Shop |
|||
}} |
|||