Template:Stub/doc: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
m 3 revisions: importing Template namespace from Wikia
 
No edit summary
Line 8: Line 8:
==Parameter: <clear>==
==Parameter: <clear>==
The parameter ''clear'' takes either of the following 2 values: ''front'' or ''back''.
The parameter ''clear'' takes either of the following 2 values: ''front'' or ''back''.
===Example Problem===
In case the following situation happens in a article:
{{MonsterInfo
| name=Gem jamboree
| image=DQ9_GemJamboree.png
| size=70
| family=Slime
| type=Gem/Stack
| game= Dragon Quest IX
}}
{{stub}}
====Code====
<pre>{{MonsterInfo
| name=Gem jamboree
| image=DQ9_GemJamboree.png
| size=70
| family=Slime
| type=Gem/Stack
| game= Dragon Quest IX
}}
{{stub}}</pre>
====Solution====
use this code instead:
<pre>{{MonsterInfo
| name=Gem jamboree
| image=DQ9_GemJamboree.png
| size=70
| family=Slime
| type=Gem/Stack
| game= Dragon Quest IX
}}
{{stub|clear=front}}</pre>
=====Result=====
{{MonsterInfo
| name=Gem jamboree
| image=DQ9_GemJamboree.png
| size=70
| family=Slime
| type=Gem/Stack
| game= Dragon Quest IX
}}
{{stub|clear=front}}

Revision as of 09:43, 13 May 2011

Usage

To use this template, type {{Stub}} on the articles that need more information. It is recommended to put this template on the top of the page.

You can also use the parameter width to adjust the width of the notice like this: {{stub|width=75%}}

Parameter: <clear>

The parameter clear takes either of the following 2 values: front or back.