Difference between revisions of "Template:Quest icon"

From Final Fantasy XIV Online Wiki
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: <!-- hiding linebreaks -->
<includeonly>{{#if:{{{1|}}}|
{{#vardefine:smw_type|{{#show:{{{1|}}}|?Has quest type|link=none}}}}
[[File:{{#switch: {{lc:{{#vardefineecho:smw_type|{{#show:{{{1|}}}|?Has quest type|link=none}}}}}}
[[File:{{#switch: {{lc:{{#var:smw_type}}}}
       | 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}}|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}}|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>
{{lc:{{#vardefineecho:smw_type|{{#show:Windy Wedding|?Has quest type|link=none}}}}}}
 
<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

This is an example a paragraph with the {{quest icon|Windy Wedding}} quest in it.

This is an example a paragraph with the Sidequest Windy Wedding quest in it.