Difference between revisions of "Template:Quest"
WardPhoenix (talk | contribs) m |
m (Adding a new value for the type parameter, currently just called 'special', for quests with in-game mechanics (join guild, renew pet license, etc). Will probably also create a corresponding category, probably, maybe.) |
||
Line 12: | Line 12: | ||
|epic|epic quest|epic-quest|epicquest = <b>{{Decorate item|π|[[:Category:Epic Quests|Epic Quest]]|where=before}}</b> | |epic|epic quest|epic-quest|epicquest = <b>{{Decorate item|π|[[:Category:Epic Quests|Epic Quest]]|where=before}}</b> | ||
|normal|quest|#default = <b>{{Decorate item|π|[[:Category:Quests|Quest]]|where=before}}</b> | |normal|quest|#default = <b>{{Decorate item|π|[[:Category:Quests|Quest]]|where=before}}</b> | ||
+ | |special = <b>{{Decorate item|π§|Special|where=before}}</b> | ||
}} | }} | ||
</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> | ||
Line 25: | Line 26: | ||
| imagestyle = padding:0; background: none; border-bottom: 4px solid #FFE79F33; | | imagestyle = padding:0; background: none; border-bottom: 4px solid #FFE79F33; | ||
| spacer = no | | spacer = no | ||
β | | bodystyle= background: #FFE79F33; width:19.5rem; border:none;margin: 0 auto;padding:10px 2px 0 2px;font-size:100%; | + | | bodystyle= background: #FFE79F33; width:19.5rem; border: none; margin: 0 auto; padding: 10px 2px 0 2px; font-size: 100%; |
β | | abovestyle = font-size: 100%; font-weight:normal; width:100%; | + | | abovestyle = font-size: 100%; font-weight: normal; width:100%; |
| belowstyle = background: #FFE79F33; border-bottom: 4px solid #FFE79F33; | | belowstyle = background: #FFE79F33; border-bottom: 4px solid #FFE79F33; | ||
| navstyle = | | navstyle = |
Revision as of 07:14, 26 November 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 }}