Template:QuestItemGroup: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "<noinclude> {{#ask: Category:Quest Items <!-- Queries all items in the "Quest Items" category --> |?episode={{PAGENAME}} <!-- Filters items by the episode (the template will use the current page name as the episode) --> |?quest={{PAGENAME}} <!-- Filters items by the quest (again using the current page name) --> |format=table <!-- Format the output as a table --> |limit=100 <!-- Limits the number of results to 100 (adjust as ne...")
 
No edit summary
Line 2: Line 2:
{{#ask:
{{#ask:
[[Category:Quest Items]] <!-- Queries all items in the "Quest Items" category -->
[[Category:Quest Items]] <!-- Queries all items in the "Quest Items" category -->
|?episode={{PAGENAME}} <!-- Filters items by the episode (the template will use the current page name as the episode) -->
|?episode={{{episode|{{PAGENAME}}}}} <!-- Filters by episode, defaulting to the current page if no episode is provided -->
|?quest={{PAGENAME}} <!-- Filters items by the quest (again using the current page name) -->
|?quest={{{quest|}}} <!-- Filters by quest, but only if a quest is provided. If not, it is ignored -->
|format=table <!-- Format the output as a table -->
|format=table <!-- Format the output as a table -->
|limit=100 <!-- Limits the number of results to 100 (adjust as needed) -->
|limit=100 <!-- Limits the number of results to 100 -->
|sort=quest, name <!-- Sorts by quest name and item name -->
|sort=quest, name <!-- Sorts by quest name and item name -->
|mainlabel=Quest Items <!-- Label for the column heading -->
|mainlabel=Quest Items <!-- Label for the column heading -->
|headerwidth=200px <!-- Sets the width for the table header -->
|headerwidth=200px <!-- Sets the width for the table header -->
}}
}}
</noinclude>
</noinclude>

Revision as of 02:00, 19 November 2024