Difference between revisions of "Template:Leather List/doc"

From RimWorld Wiki
Jump to navigation Jump to search
Line 7: Line 7:
  
 
For example, if this template was used on the [[Plainleather]] page, it would look like:
 
For example, if this template was used on the [[Plainleather]] page, it would look like:
<div><li style="display: inline-table;">
+
{{Leather List|Plainleather}}
{| {{STDT| sortable c_06 text-center}}
 
! Animal !! Leather Yield
 
|-
 
{{#ask: [[Category:Animals]] [[Leather Name::plainleather]] [[:+]]
 
| ?Leather Yield
 
| format = template
 
| template = Ask Table Formatter
 
| limit = 500
 
| link = none}}
 
|}</li><div>
 
  
  
 
<includeonly>[[Category:Customized table templates]]</includeonly>
 
<includeonly>[[Category:Customized table templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 22:31, 31 October 2022

Creates a lists of every animal that provides the given type of leather, as well as the yield gained from each animal. This is intedended for use on Leather pages, not for use elsewhere.

Usage

Add the following to the page of a type of leather

{{Leather List}}

There is no need to, nor support for, include a leather type in the template. The template takes the page name from the page it is used on.

For example, if this template was used on the Plainleather page, it would look like:

  • Animal Leather Yield
    Bison 96
    Boomalope 80
    Caribou 40
    Cow 96
    Deer 48
    Donkey 56
    Elk 84
    Gazelle 31
    Goat 33
    Horse 96
    Ibex 40
    Sheep 33
    Yak 84
    Toxalope Content added by the Biotech DLC 56