Template:Camp supplies list/format: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Fixed incorrect placement of page/name parameters)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><li>{{IconLink | {{{icon}}} | {{{name}}} | {{{page|{{{name}}}}}} }} ({{Camp Supplies|{{{camp supplies}}}|short}})</li></includeonly><noinclude>
<includeonly><li>{{IconLink | {{{icon}}} | {{{page}}} | {{{name|{{{page}}}}}} }} ({{Camp Supplies|{{{camp supplies}}}|short}})</li></includeonly><noinclude>
Used to format cargo query results.  
Used to format cargo query results.  


Example: {{:Camp Supplies/list entry|icon=FOOD Owlbear Egg Unfaded Icon.png|name=Owlbear Egg|camp supplies=40}}
{{Template demo
| style = list
| <nowiki>{{Camp supplies list/format|icon=FOOD Goodberry Unfaded Icon.png|name=Goodberry|page=Goodberry (Item)|camp supplies=1}}</nowiki>
| <nowiki>{{Camp supplies list/format|icon=FOOD Owlbear Egg Unfaded Icon.png|name=Owlbear Egg|page=Owlbear Egg|camp supplies=40}}</nowiki>
}}
</noinclude>
</noinclude>

Latest revision as of 23:32, 28 August 2024

Used to format cargo query results.

Markup
{{Camp supplies list/format|icon=FOOD Goodberry Unfaded Icon.png|name=Goodberry|page=Goodberry (Item)|camp supplies=1}}
Renders as
  • Goodberry Goodberry ( 1 )
  • Markup
    {{Camp supplies list/format|icon=FOOD Owlbear Egg Unfaded Icon.png|name=Owlbear Egg|page=Owlbear Egg|camp supplies=40}}
    Renders as
  • Owlbear Egg Owlbear Egg ( 40 )