Difference between revisions of "Template:Quest/Documentation"

From GodWiki
Jump to: navigation, search
m
(Tags: Mobile edit, Mobile web edit)
m
(Tags: Mobile edit, Mobile web edit)
Line 21: Line 21:
 
==Example of Use==
 
==Example of Use==
  
'''Mini-quest Exemple : The shortest tale with the longest title so far'''
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{quest
 
{{quest
Line 31: Line 30:
 
| description = <!-- A short description -->
 
| description = <!-- A short description -->
 
}}
 
}}
 +
 
</nowiki></pre>
 
</nowiki></pre>
 +
'''Mini-quest Exemple : The shortest tale with the longest title so far'''
 
{{quest
 
{{quest
 
  |title = The shortest tale with the longest title so far
 
  |title = The shortest tale with the longest title so far

Revision as of 23:55, 13 May 2019

As well as automatically categorizing an article into Category:Quests, this template supplies some standard information about the subject of the article.

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 
Required — What kind of quest it is (default: Unknown).
(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.

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 Exemple : The shortest tale with the longest title so far

Quests of Godville
#35
The shortest tale with the longest title so far
A one-page tale
Example.jpg
A catchy caption



{{quest
 | image = Example.jpg
 |status=80
 |number= 35
 | caption= A catchy caption
 | type = mini
 | description = A one-page tale
}}

Normal Quest Exemple : Do the first quest of another RPG

Quests of Godville

📘Quest

#12
Do the first quest of another RPG
"Kill five boars, three snakes and bring me my coffee please."
Example.jpg
A fitting caption of average lenght



{{quest
 | image = Example.jpg
 |status=50
 |number= 12
 | caption= A fitting caption of average lenght
 | type = Normal
 | description = "Kill five boars, three snakes and bring me my coffee please."
}}

Epic Quest Exemple : Become King of the Unknown World

Quests of Godville
#42
Become King of the Unknown World
So epic everyone will talk about it
Example.jpg
A fairly way too long yet captivating and perfectly appropriate caption



{{quest
 | image = Example.jpg
 |status=25
 |number= 42
 | caption= A fairly way too long yet captivating and perfectly appropriate caption
 | type = Epic
 | description = So epic everyone will talk about it
}}

NB: Those are exemples, not actually existing quests at the time of this documentation.