Difference between revisions of "Template:Quest/Documentation"

From GodWiki
Jump to: navigation, search
m
m
Line 12: Line 12:
  
 
; {{para|ignore-no-image|<var>yes</var>}} : ''Optional'' — Set to <code>yes</code> (or any similar positive-state value) to disable the automatic placement of {{tlx|Picture}} above the infobox.
 
; {{para|ignore-no-image|<var>yes</var>}} : ''Optional'' — Set to <code>yes</code> (or any similar positive-state value) to disable the automatic placement of {{tlx|Picture}} above the infobox.
 
=== Mini-Quest paramaters===
 
 
For quests of {{para|type|<var>Mini-quest</var>}}, the following additional parameters can be set:
 
 
; {{para|previous|<var>Previous mini-quest</var>}} : ''When relevant'' - Indicates the name of the previous mini-quest of the chain it is part of. Will automatically link to the Godwiki article for that mini-quest.
 
 
; {{para|next|<var>Next mini-quest</var>}} : ''When relevant'' - Indicates the name of the next mini-quest of the chain it is part of. Will automatically link to the Godwiki article for that mini-quest.
 
 
; {{para|boss|<var>Boss of the mini-quest</var>}} : ''When relevant'' - Indicate the name of the boss encountered at the end of the mini-quest when it have one. Will automatically link to the Godwiki article for that boss monster.
 
 
; {{para|reward|<var>Reward of the mini-quest</var>}} : ''When relevant'' - Indicate the name of the artifact received at the end of the mini-quest when it have one. Will automatically link to the Godwiki article for that artifact.
 
  
 
==Example of Use==
 
==Example of Use==
Line 36: Line 24:
 
  | type = mini
 
  | type = mini
 
  | description = A one-page tale
 
  | description = A one-page tale
| previous= Previous mini-quest
 
| next= Following mini-quest
 
| boss = Boss of the mini-quest
 
| reward= Reward of the mini-quest
 
 
}}
 
}}
 
<pre><nowiki>{{quest
 
<pre><nowiki>{{quest

Revision as of 13:35, 18 April 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= or |category= will auto-categorize the article into the appropriate quest sub-category.)
|description= 
Optional — Brief description of 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

{{skill
| image = <!-- An image filename (e.g. Example_picture_name.jpg). If the filename doesn't exist, this gives you a link to upload it. -->
| type = <!-- What kind of skill it is. Can be: Combat, Trade, Transport. -->
| description = 
}}
Quests of Godville
#1
Quest/Documentation
A one-page tale
Example.jpg



{{quest
 | image = Example.jpg
 | type = mini
 | description = A one-page tale
 | previous= Previous mini-quest
 | next= Following mini-quest
 | boss = Boss of the mini-quest
 | reward= Reward of the mini-quest
}}
Quests of Godville

📘Quest

#1
Quest/Documentation
"Kill five boars, three snakes and bring me my coffee please."
Example.jpg



{{quest
 | image = Example.jpg
 | type = Normal
 | description = "Kill five boars, three snakes and bring me my coffee please."
}}
Quests of Godville
#1
Quest/Documentation
So epic everyone will talk about it
Example.jpg



{{quest
 | image = Example.jpg
 | type = Epic
 | description = So epic everyone will talk about it
}}