Difference between revisions of "Template:Show Loot"

From Istaria Lexica

 
(90 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>count:{{#ask:[[{{FULLPAGENAME}}]] [[Loot::]]|format=count}}
+
<includeonly>{{#ifexpr:{{Count Property Values|{{FULLPAGENAME}}|Loot}}>0|
 
+
==Loot==
 
+
<div style="display: inline-block; {{ColumnCounter|{{Count Property Values|{{FULLPAGENAME}}|Loot}}}}; column-gap: 40px">
 
+
{{#invoke:LexiSorting|sortseparatedstring|{{#ask:[[{{FULLPAGENAME}}]]|?Loot=|mainlabel=-|format=Plainlist|valuesep=~}}|~|<br />}}</div>}}
list:{{#show:{{FULLPAGENAME}}|?Loot|+order=n-asc|limit=99999|format=list}}
+
</includeonly><noinclude>{{Documentation}}[[Category:List Templates]][[Category:Semantic Mediawiki Templates]][[Category:Loot Templates]]</noinclude>
<nowiki/>
 
==Available loot==
 
<div style="display:inline-block; {{ColumnCounter|{{#arraysize:targets}}}}">123</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)