Difference between revisions of "Template:Quest/Documentation"

From GodWiki
Jump to: navigation, search
m
m (testing - placeholding)
Line 22: Line 22:
 
{{quest
 
{{quest
 
  |title = The shortest tale with the longest title so far
 
  |title = The shortest tale with the longest title so far
 +
|progress=80
 +
|number= 35
 
  | image = Example.jpg
 
  | image = Example.jpg
 
  | caption= A fitting caption
 
  | caption= A fitting caption
Line 28: Line 30:
 
}}
 
}}
 
<pre><nowiki>{{quest
 
<pre><nowiki>{{quest
|title = The shortest tale with the longest title so far
 
 
  | image = Example.jpg
 
  | image = Example.jpg
 +
|progress=80
 +
|number= 35
 
  | caption= A fitting caption
 
  | caption= A fitting caption
 
  | type = mini
 
  | type = mini
Line 37: Line 40:
 
{{quest
 
{{quest
 
  |title = Do the first quest of another RPG
 
  |title = Do the first quest of another RPG
 +
|progress=50
 +
|number= 12
 
  | image = Example.jpg
 
  | image = Example.jpg
 
  | caption= A fitting caption
 
  | caption= A fitting caption
Line 44: Line 49:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{quest
 
{{quest
|title = Do the first quest of another RPG
 
 
  | image = Example.jpg
 
  | image = Example.jpg
 +
|progress=50
 +
|number= 12
 
  | caption= A fitting caption
 
  | caption= A fitting caption
 
  | type = Normal
 
  | type = Normal
Line 53: Line 59:
 
{{quest
 
{{quest
 
  |title = Become King of the Unknown World
 
  |title = Become King of the Unknown World
 +
|progress=25
 +
|number= 42
 
  | image = Example.jpg
 
  | image = Example.jpg
 
  | caption= A fitting caption
 
  | caption= A fitting caption
Line 59: Line 67:
 
}}
 
}}
 
<pre><nowiki>{{quest
 
<pre><nowiki>{{quest
|title = Become King of the Unknown World
 
 
  | image = Example.jpg
 
  | image = Example.jpg
 +
|progress=25
 +
|number= 42
 
  | caption= A fitting caption
 
  | caption= A fitting caption
 
  | type = Epic
 
  | type = Epic

Revision as of 15:52, 29 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= 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

{{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. -->
| type = <!-- What kind of quest it is. Can be: Mini, Normal, Epic. -->
| description = 
}}
Quests of Godville
#35
The shortest tale with the longest title so far
A one-page tale
Example.jpg
A fitting caption



{{quest
 | image = Example.jpg
 |progress=80
 |number= 35
 | caption= A fitting caption
 | type = mini
 | description = A one-page tale
}}
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



{{quest
 | image = Example.jpg
 |progress=50
 |number= 12
 | caption= A fitting caption
 | type = Normal
 | description = "Kill five boars, three snakes and bring me my coffee please."
}}
Quests of Godville
#42
Become King of the Unknown World
So epic everyone will talk about it
Example.jpg
A fitting caption



{{quest
 | image = Example.jpg
 |progress=25
 |number= 42
 | caption= A fitting caption
 | type = Epic
 | description = So epic everyone will talk about it
}}