Difference between revisions of "Template:Quest icon"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{1|}}}| | ||
[[File:{{#switch: {{lc:{{#vardefineecho:smw_type|{{#show:{{{1|}}}|?Has quest type|link=none}}}}}} | |||
| main scenario = Main Scenario Quest icon.png | | main scenario = Main Scenario Quest icon.png | ||
| quest | side | sidequest = Quest icon.png | | quest | side | sidequest = Quest icon.png | ||
Line 6: | Line 6: | ||
| feature | class | job = Feature Quest icon.png | | feature | class | job = Feature Quest icon.png | ||
| levequest = Levequest icon.png | | levequest = Levequest icon.png | ||
| #default = Quest icon.png}}|30px|{{#ifeq:{{#var:smw_type}}|Sidequest|Sidequest|{{#var:smw_type}} quest}}|link=Quest]] {{#show:{{{1|}}}|?Has canonical name|default={{{1|Quest}}}}}</includeonly><noinclude> | | #default = Quest icon.png}}|30px|{{#ifeq:{{#var:smw_type}}|Sidequest|Sidequest|{{#var:smw_type}} quest}}|link=Quest]] [[{{{1}}}|{{#show:{{{1|}}}|?Has canonical name|default={{{1|Quest}}}}}]]}}</includeonly><noinclude> | ||
== Description == | == Description == | ||
Line 19: | Line 19: | ||
== Examples == | == Examples == | ||
* {{quest icon|Windy Wedding}} is produced from <code><nowiki>{{quest icon|Windy Wedding}}</nowiki></code> | * {{quest icon|Windy Wedding}} is produced from <code><nowiki>{{quest icon|Windy Wedding}}</nowiki></code> | ||
<pre>This is an example a paragraph with the {{quest icon|Windy Wedding}} quest in it.</pre> | <pre>This is an example a paragraph with the {{quest icon|Windy Wedding}} quest in it.</pre> | ||
This is an example a paragraph with the {{quest icon|Windy Wedding}} quest in it. | This is an example a paragraph with the {{quest icon|Windy Wedding}} quest in it. | ||
[[Category:Icon templates|Quest icon]]</noinclude> | [[Category:Icon templates|Quest icon]]</noinclude> |
Revision as of 19:33, 11 December 2017
Description
{{quest icon|<quest name>}}
Displays a link to the quest name (canonical name) and the quest icon.
Parameters
- unnamed parameter 1
- Quest name. Defaults to "Quest".
Examples
- Windy Wedding is produced from
{{quest icon|Windy Wedding}}
This is an example a paragraph with the {{quest icon|Windy Wedding}} quest in it.
This is an example a paragraph with the Windy Wedding quest in it.