Template:Infobox entity: Difference between revisions

Added Template:Version link, removed IDs from being optional (every entity would have an ID?)
No edit summary
Line 12: Line 12:
{{ #if: {{{spawn|}}} | {{infobox row|label=Spawn|field={{{spawn}}} }} }}
{{ #if: {{{spawn|}}} | {{infobox row|label=Spawn|field={{{spawn}}} }} }}
{{ #if: {{{score|}}} | {{infobox row|label=Scorepoints|field={{{score}}} }} }}
{{ #if: {{{score|}}} | {{infobox row|label=Scorepoints|field={{{score}}} }} }}
{{ #if: {{{firstver|}}} | {{infobox row|label=First Appearance|field={{Version link|{{{firstver}}}}} }} }}
{{ #if: {{{multiplevers|}}}
  | {{infobox row|label=First Appearances|field={{{multiplevers}}} }}
  | {{ #if: {{{firstver|}}} | {{infobox row|label=First Appearance|field={{Version link|{{{firstver}}}}} }} }}
}}
{{infobox row|label=<span style="border-bottom: 1px dotted; cursor: help" title="ID in Network Traffic (Byte)">Network ID</span>|field={{#if: {{{id|}}} | {{{id}}} | ? }} }}
{{infobox row|label=<span style="border-bottom: 1px dotted; cursor: help" title="ID in Network Traffic (Byte)">Network ID</span>|field={{#if: {{{id|}}} | {{{id}}} | ? }} }}
{{infobox row|label=<span style="border-bottom: 1px dotted; cursor: help" title="ID in Saved Games (String)">Savegame ID</span>|field={{#if: {{{entityid|}}} | {{{entityid}}} | ? }} }}
{{infobox row|label=<span style="border-bottom: 1px dotted; cursor: help" title="ID in Saved Games (String)">Savegame ID</span>|field={{#if: {{{entityid|}}} | {{{entityid}}} | ? }} }}