Template:QuestList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
{{#ask:
{{#ask:
[[Category:Quests]] AND {{#switch: {{lc:{{{episode|}}}}} | hopeport = [[Episode::Hopeport]] | hopeforest = [[Episode::Hopeforest]] | mine of mantuban = [[Episode::Mine of Mantuban]] | crenopolis = [[Episode::Crenopolis]] | #default = [[Episode::Hopeport]] OR [[Episode::Hopeforest]] OR [[Episode::Mine of Mantuban]] OR [[Episode::Crenopolis]] }}
[[Category:Quests]] AND {{#switch: {{lc:{{{episode|}}}}} | hopeport = [[Episode::Hopeport]] | hopeforest = [[Episode::Hopeforest]] | mine of mantuban = [[Episode::Mine of Mantuban]] | crenopolis = [[Episode::Crenopolis]] | #default = [[Episode::Hopeport]] OR [[Episode::Hopeforest]] OR [[Episode::Mine of Mantuban]] OR [[Episode::Crenopolis]] }}
{{#switch: {{lc:{{{type|}}}}} | main = [[Quest type::Main]] | side = [[Quest type::Side]] | #default = }}
|?difficulty
|{{#if:{{{show_difficulty|}}} | ?difficulty | }}
|?quest_type
|{{#if:{{{show_type|}}} | ?quest_type | }}
|?episode
|{{#if:{{{show_episode|}}} | ?episode | }}
|?premium
| order=asc
| order=asc
| sort=name
| sort={{lc:{{{sort|}}}}}
| headers=show
| headers=show
| mainlabel=Quest Name
| mainlabel=Quest Name
| format=plainlist
| format=table
| introtemplate=QuestListHead
| introtemplate=QuestListHead
| template=QuestListBody
| template=QuestListBody
Line 25: Line 25:
"type": "string",
"type": "string",
"suggestedvalues": ["hopeport", "hopeforest", "mine of mantuban", "crenopolis"],
"suggestedvalues": ["hopeport", "hopeforest", "mine of mantuban", "crenopolis"],
"suggested": true
},
"type": {
"label": "Type Filter",
"description": "Filter quest list to an type, leave empty for all quests",
"example": "main",
"type": "string",
"suggestedvalues": ["main", "side"],
"suggested": true
},
"sort": {
"label": "Sort",
"description": "Column to sort quest list",
"example": "name",
"type": "string",
"suggestedvalues": ["name", "difficulty", "type", "episode"],
"suggested": true
},
"show_difficulty": {
"label": "Show Difficulty Column",
"description": "Set to show Difficulty Column",
"example": "0",
"type": "boolean",
"autovalue": "1",
"suggested": true
},
"show_type": {
"label": "Show Type Column",
"description": "Set to show Quest Type Column",
"example": "0",
"type": "boolean",
"autovalue": "0",
"suggested": true
},
"show_episode": {
"label": "Show Episode Column",
"description": "Set to show Episode Column",
"example": "0",
"type": "boolean",
"autovalue": "1",
"suggested": true
"suggested": true
}
}