Template:Infobox entity: Difference between revisions
Don't add category for none. |
mNo edit summary |
||
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]]|field={{{drops| | {{ #if: {{{drops|}}} | {{infobox row|class=list-style-none|label=[[Drops]]|field={{{drops|}}} {{#if: {{NAMESPACE}} || {{#ifeq: {{lc: {{{drops}}} }} | none || [[Category:Infobox uses generic drops field]] }} }} }} }} | ||
{{ #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|}}} }} }} |