Template:Infobox entity: Difference between revisions

added new drop type parameters
no category for user or talk pages
Line 15: Line 15:
{{infobox row|label=<abbr title="ID in network traffic (byte)">Network ID</abbr>|field={{#if: {{{id|}}} | {{{id}}} | ? }} }}
{{infobox row|label=<abbr title="ID in network traffic (byte)">Network ID</abbr>|field={{#if: {{{id|}}} | {{{id}}} | ? }} }}
{{infobox row|label=<abbr title="ID in saved games (string)">Savegame ID</abbr>|field={{#if: {{{entityid|}}} | {{{entityid}}} | ? }} }}
{{infobox row|label=<abbr title="ID in saved games (string)">Savegame ID</abbr>|field={{#if: {{{entityid|}}} | {{{entityid}}} | ? }} }}
{{ #if: {{{drops|}}} | {{infobox row|class=list-style-none|label=[[Drops]][[Category:Infobox uses generic drops field]]|field={{{drops|}}} }} }}
{{ #if: {{{drops|}}} | {{infobox row|class=list-style-none|label=[[Drops]]{{ #switch: {{NAMESPACE}} | {{ns:1}} | {{ns:2}} | {{ns:3}} | {{ns:5}} | {{ns:7}} | {{ns:9}} | {{ns:11}} | {{ns:13}} | {{ns:15}} = <!-- no category for user or talk pages --> | #default = [[Category:Infobox uses generic drops field]] }}|field={{{drops|}}} }} }}
{{ #if: {{{commondrops|}}} | {{infobox row|class=list-style-none|label=[[Drops#Common drops|Common drops]]|field={{{commondrops|}}} }} }}
{{ #if: {{{commondrops|}}} | {{infobox row|class=list-style-none|label=[[Drops#Common drops|Common drops]]|field={{{commondrops|}}} }} }}
{{ #if: {{{uncommondrops|}}} | {{infobox row|class=list-style-none|label=[[Drops#Uncommon drops|Uncommon drops]]|field={{{uncommondrops|}}} }} }}
{{ #if: {{{uncommondrops|}}} | {{infobox row|class=list-style-none|label=[[Drops#Uncommon drops|Uncommon drops]]|field={{{uncommondrops|}}} }} }}