Difference between revisions of "Template:Quest"
WardPhoenix (talk | contribs) m (trying to find and remove that space which ruin the template) |
WardPhoenix (talk | contribs) m |
||
Line 14: | Line 14: | ||
}} | }} | ||
</div><div style="text-align:right;float:right;display:inline;margin-right:0.3rem;">#{{{number|1}}}</div><div style="clear:both;"></div><div style="width:15em; visibility: hidden;"></div><div style="line-height:145%;text-align:right;font-style:italic;margin:0.1rem 0.3rem;">'''{{{title|{{PAGENAME}} }}}'''</div><div style="height:5px"></div> | </div><div style="text-align:right;float:right;display:inline;margin-right:0.3rem;">#{{{number|1}}}</div><div style="clear:both;"></div><div style="width:15em; visibility: hidden;"></div><div style="line-height:145%;text-align:right;font-style:italic;margin:0.1rem 0.3rem;">'''{{{title|{{PAGENAME}} }}}'''</div><div style="height:5px"></div> | ||
โ | |||
<!--____Main ProgressBar__--> | <!--____Main ProgressBar__--> | ||
<div style="margin: 0 0 0 5px;">{{Diarybar|style=quest|width=298px|completed={{{completed|}}}|status={{{status|}}}}}</div><!-- | <div style="margin: 0 0 0 5px;">{{Diarybar|style=quest|width=298px|completed={{{completed|}}}|status={{{status|}}}}}</div><!-- | ||
Line 62: | Line 61: | ||
{{doc}} | {{doc}} | ||
[[Category:Templates|{{PAGENAME}}]][[Category:Infoboxes|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]][[Category:Infoboxes|{{PAGENAME}}]] | ||
+ | <!-- Note: As this template don't use any of the data section in standard use, the template also categorize articles under the hidden [[Category:Articles which use infobox templates with no data rows]] if the decat parameter is set to no. --> | ||
</noinclude> | </noinclude> | ||
โ |
Revision as of 21:59, 17 February 2020
๐ Documentation
NB: Those are examples, not actually existing quests at the time of this documentation.
As well as automatically categorizing an article into Category:Quests, this template supplies some standard information about the subject of the article. For details on how to create a quest article, refers to the Creators Manual and the Guideline: Quest Articles.
Parameters
|image=filename
- Optional but preferred โ The full image file name.
- If an image is not supplied, a placeholder will be used, and by default the template will place the
{{picture}}
hatnote before the infobox. Disable this if necessary with|ignore-no-image=yes
(see below).|caption=Image description
- Optional โ Use only if
|image=
is also set. Text of a descriptive caption to display beneath the image.
|type=Mini, Normal, Epic, Special
- Required โ What kind of quest it is (default: Normal). The
Special
category is reserved for quests which have a special effect in-game, such as joining a guild, or releasing a pet. - (Note: Setting
|type=
will auto-categorize the article into the appropriate quest sub-category.)
|description=
- Optional โ Brief description of the quest.
- (Note: Unlike other infoboxes, description is displayed above the picture, below the progress bar.)
|status=
- Optional โ Fill the bar according to the number.
- (Exemple:
|status=25
will display a bar filled at 25%)
|number=
- Optional โ Give a non-meta number to the quest.
|ignore-no-image=yes
- Optional โ Set to
yes
(or any similar positive-state value) to disable the automatic placement of{{Picture}}
above the infobox.
|top=no
- Optional โ Set to
no
to disable the automatic placement of the{{Top}}
template on the article.
Example of Use
{{quest | image = <!-- An image filename (e.g. Example_picture_name.jpg). If the filename doesn't exist, this gives you a link to upload it. --> | caption = <!-- An appropriate caption for the picture --> | type = <!-- What kind of quest it is. Can be: Mini, Normal, Epic. --> | number = <!-- A non-meta number given to the quest --> | status = <!-- Percentage of progression displayed on the progress bar --> | description = <!-- A short description --> }}
Mini-quest Example : The shortest tale with the longest title so far
Quests of Godville
{{quest | image = Example.jpg | caption = A catchy caption | type = mini | number = 35 | status = 80 | description = A one-page tale }}
Normal Quest Example : Do the first quest of another RPG
Quests of Godville
{{quest | image = Example.jpg | caption = A fitting caption of average length | type = Normal | number = 12 | status = 50 | description = "Kill five boars, three snakes and bring me my coffee please." }}
Epic Quest Example : Become King of the Unknown World
Quests of Godville
๐Epic Quest
#42
Become King of the Unknown World
| |
{{quest | image = Example.jpg | caption = A fairly way too long yet captivating and perfectly appropriate caption | type = Epic | number = 42 | status = 25 | description = So epic everyone will talk about it }}