Template:Drops: Difference between revisions

From Vintage Story Wiki
No edit summary
(Marked this version for translation)
Line 1: Line 1:
<noinclude><languages /></noinclude>
<noinclude><languages /></noinclude>
<includeonly>|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate>Drops</translate>'''</font>
<includeonly>|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:1--> Drops</translate>'''</font>
{{#ifeq:{{{Code1}}}|Nothing
{{#ifeq:{{{Code1}}}|Nothing
  |{{!}}- {{Drops/Nothing}}|
  |{{!}}- {{Drops/Nothing}}|
Line 41: Line 41:
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
<translate>Use this in infoboxes to display drops.</translate>
<translate><!--T:2--> Use this in infoboxes to display drops.</translate>
{| class="wikitable"
{| class="wikitable"
|-
|-
! <translate>Parameter</translate> !! <translate>Required or Optional, default if applicable</translate> !! <translate>Example</translate>
! <translate><!--T:3--> Parameter</translate> !! <translate><!--T:4--> Required or Optional, default if applicable</translate> !! <translate><!--T:5--> Example</translate>
|-
|-
| ''Code1'' - ''Code12'' || <translate>Required</translate> || <translate>Dirt</translate>
| ''Code1'' - ''Code12'' || <translate><!--T:6--> Required</translate> || <translate><!--T:7--> Dirt</translate>
|-
|-
| ''Avg1'' - ''Avg12'' || <translate>Required for</translate> ''Code1'' - ''Code4''  || 2
| ''Avg1'' - ''Avg12'' || <translate><!--T:8--> Required for</translate> ''Code1'' - ''Code4''  || 2
|-
|-
| ''Var1'' - ''Var12'' || <translate>Optional</translate> || 2
| ''Var1'' - ''Var12'' || <translate><!--T:9--> Optional</translate> || 2
|}
|}
<translate>
<translate>
<!--T:10-->
Pass <code>Nothing</code> as the <code>Code1</code> parameter to display that it drops nothing.
Pass <code>Nothing</code> as the <code>Code1</code> parameter to display that it drops nothing.


<!--T:11-->
Use this in other templates. Based on [[Template:Drops/row]].
Use this in other templates. Based on [[Template:Drops/row]].
</translate>
</translate>
</noinclude>
</noinclude>

Revision as of 06:47, 31 July 2023

Other languages:

Use this in infoboxes to display drops.

Parameter Required or Optional, default if applicable Example
Code1 - Code12 Required Dirt
Avg1 - Avg12 Required for Code1 - Code4 2
Var1 - Var12 Optional 2

Pass Nothing as the Code1 parameter to display that it drops nothing.

Use this in other templates. Based on Template:Drops/row.