Difference between revisions of "Template:Show Loot"

From Istaria Lexica

 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr:{{Count Property Values|{{FULLPAGENAME}}|Loot}}>0|<div style="display: inline-block; {{ColumnCounter|{{Count Property Values|{{FULLPAGENAME}}|Loot}}}}; column-gap: 40px">
+
<includeonly>{{#ifexpr:{{Count Property Values|{{FULLPAGENAME}}|Loot}}>0|
  {{#ask:
+
==Loot==
    [[{{FULLPAGENAME}}]]
+
<div style="display: inline-block; {{ColumnCounter|{{Count Property Values|{{FULLPAGENAME}}|Loot}}}}; column-gap: 40px">
    |?Loot=
+
{{#invoke:LexiSorting|sortseparatedstring|{{#ask:[[{{FULLPAGENAME}}]]|?Loot=|mainlabel=-|format=Plainlist|valuesep=~}}|~|<br />}}</div>}}
    |mainlabel=-
+
</includeonly><noinclude>{{Documentation}}[[Category:List Templates]][[Category:Semantic Mediawiki Templates]][[Category:Loot Templates]]</noinclude>
    |format=list
 
    |valuesep=<br/>
 
  }}</div>
 
}}</includeonly><noinclude>{{Documentation}}[[Category:List Templates]][[Category:Semantic Mediawiki Templates]]</noinclude>
 

Latest revision as of 00:36, 22 March 2024

Template documentation (for the template shown above, sometimes hidden or invisible)

Description[edit]

Enlists the loot a creature can drop. To define the loot in the creature's article, use Template:Add Loot.

Syntax[edit]

{{Template:Show Loot}}
Visit Template:Show Loot/doc to edit this text. (How to: document correctly)