Template:CapeList: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "<includeonly>{| class="wikitable sortable autosort=1,a" ! Level ! Cape ! colspan="10" | Cost |- {{#ask: [[Sold item::~*{{{1|{{PAGENAME}}}}} Cape]] |?Sold item = item |?Shop buy price = cost |format = template |template = CapeList/Line |default = :''No capes found for {{{1|{{PAGENAME}}}}}. To force an update, click {{Purge|here|tag=span}}.'' |link = none |searchlabel = |named args = yes |limit = 5 |sort=Sold item.Profession Level A }} |}</includeonly><noinclude>{{/doc}}<...")
 
(Align level; Query for name / level at the same time)
 
Line 1: Line 1:
<includeonly>{| class="wikitable sortable autosort=1,a"
<includeonly>{| class="wikitable sortable autosort=1,a align-right-1"
! Level
! Level
! Cape
! colspan="2" | Cape
! colspan="10" | Cost
! colspan="10" | Cost
|-
|-
Line 7: Line 7:
[[Sold item::~*{{{1|{{PAGENAME}}}}} Cape]]
[[Sold item::~*{{{1|{{PAGENAME}}}}} Cape]]
|?Sold item = item
|?Sold item = item
|?Sold item.Name = name
|?Sold item.Profession Level A = level
|?Shop buy price = cost
|?Shop buy price = cost
|format = template
|format = template
Line 14: Line 16:
|searchlabel =
|searchlabel =
|named args = yes
|named args = yes
|limit = 5
|limit = 10
|sort=Sold item.Profession Level A
|sort=Sold item.Profession Level A
}}
}}

Latest revision as of 18:04, 3 January 2025

Template documentation
This documentation is transcluded from Template:CapeList/doc. [edit] [history] [purge]

This template generates a list of capes and their cost. It makes use of the semantic mediawiki properties Property:Sold item and Property:Shop buy price to search for the capes and include data about them. If an item does not appear in the list, first purge the shops page, then purge the page of the item with this template on.

{{CapeList|Profession name (optional)}}

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Generates a list of capes and their cost

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Profession1

The profession to get the cape list for

Example
Alchemist
Auto value
{{subst:PAGENAME}}
Page nameoptional