Difference between revisions of "Template:Quest/Documentation"

From GodWiki
Jump to: navigation, search
m (testing - placeholding)
m
Line 10: Line 10:
  
 
; {{para|description}} : ''Optional'' — Brief description of the quest.
 
; {{para|description}} : ''Optional'' — Brief description of the quest.
 +
 +
; {{para|status}} : ''Optional'' — Fill the bar according to the number.
 +
: ''('''Exemple:'''{{para|status|25}} will display a bar filled at 25%)''
 +
 +
; {{para|number}} : ''Optional'' — Give a non-meta number to the quest.
 +
: ''('''Note:''' If the parameter is left blank, #1 will be displayed by default.)''
  
 
; {{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.
Line 22: Line 28:
 
{{quest
 
{{quest
 
  |title = The shortest tale with the longest title so far
 
  |title = The shortest tale with the longest title so far
  |progress=80
+
  |status=80
 
  |number= 35
 
  |number= 35
 
  | image = Example.jpg
 
  | image = Example.jpg
Line 31: Line 37:
 
<pre><nowiki>{{quest
 
<pre><nowiki>{{quest
 
  | image = Example.jpg
 
  | image = Example.jpg
  |progress=80
+
  |status=80
 
  |number= 35
 
  |number= 35
  | caption= A fitting caption
+
  | caption= A catchy caption
 
  | type = mini
 
  | type = mini
 
  | description = A one-page tale
 
  | description = A one-page tale
Line 40: Line 46:
 
{{quest
 
{{quest
 
  |title = Do the first quest of another RPG
 
  |title = Do the first quest of another RPG
  |progress=50
+
  |status=50
 
  |number= 12
 
  |number= 12
 
  | image = Example.jpg
 
  | image = Example.jpg
  | caption= A fitting caption
+
  | caption= A fitting caption of average lenght
 
  | type = Normal
 
  | type = Normal
 
  | description = "Kill five boars, three snakes and bring me my coffee please."
 
  | description = "Kill five boars, three snakes and bring me my coffee please."
Line 50: Line 56:
 
{{quest
 
{{quest
 
  | image = Example.jpg
 
  | image = Example.jpg
  |progress=50
+
  |status=50
 
  |number= 12
 
  |number= 12
  | caption= A fitting caption
+
  | caption= A fitting caption of average lenght
 
  | type = Normal
 
  | type = Normal
 
  | description = "Kill five boars, three snakes and bring me my coffee please."
 
  | description = "Kill five boars, three snakes and bring me my coffee please."
Line 59: Line 65:
 
{{quest
 
{{quest
 
  |title = Become King of the Unknown World
 
  |title = Become King of the Unknown World
  |progress=25
+
  |status=25
 
  |number= 42
 
  |number= 42
 
  | image = Example.jpg
 
  | image = Example.jpg
  | caption= A fitting caption
+
  | caption= A fairly way too long yet captivating and perfectly appropriate caption
 
  | type = Epic
 
  | type = Epic
 
  | description = So epic everyone will talk about it
 
  | description = So epic everyone will talk about it
Line 68: Line 74:
 
<pre><nowiki>{{quest
 
<pre><nowiki>{{quest
 
  | image = Example.jpg
 
  | image = Example.jpg
  |progress=25
+
  |status=25
 
  |number= 42
 
  |number= 42
  | caption= A fitting caption
+
  | caption= A fairly way too long yet captivating and perfectly appropriate caption
 
  | type = Epic
 
  | type = Epic
 
  | description = So epic everyone will talk about it
 
  | description = So epic everyone will talk about it
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 
{{clear}}<noinclude>[[Category:Templates/Documents|{{PAGENAME}}]]</noinclude>
 
{{clear}}<noinclude>[[Category:Templates/Documents|{{PAGENAME}}]]</noinclude>

Revision as of 16:04, 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.
|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.
(Note: If the parameter is left blank, #1 will be displayed by default.)
|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
 |status=80
 |number= 35
 | caption= A catchy 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 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."
}}
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
}}