Difference between revisions of "Template:Quest icon"
Jump to navigation
Jump to search
m |
m (Protected "Template:Quest icon" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: | <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 7: | 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}}| | | #default = Quest icon.png}}|22px|bottom|{{#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 20: | 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> |
Latest revision as of 13:34, 31 August 2018
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.