Template:LocLine: Difference between revisions

(Undo revision 52419 by Artoire (talk): Keep -1 instead of null but just remove quantity=? on pages that have that)
 
Line 1:
<includeonly>{{#invoke:Location Table|line}}</includeonly><noinclude>{{/doc}}</noinclude>
<includeonly><tr>
<td>[[{{{loc}}}]]</td>
<td>{{#show: {{{loc}}} |?Episode }}</td>
<td>{{#if:{{{quantity|}}}|{{{quantity}}}|{{Unknown}}}}</td>
</tr>{{#subobject:LOC_{{{loc}}}|Location object={{#if:{{#var:loc_version}}|{{FULLPAGENAME}}#{{#var:loc_version}}|{{FULLPAGENAME}}}}|Located in={{{loc}}}|Location quantity={{#if:{{{quantity|}}}|{{{quantity}}}|Unknown}}}}{{#vardefine:loc_json|{{#var:loc_json}}{{#if:{{#var:loc_json}}|,|{{(}}}}"{{{loc}}}":{{#if:{{{quantity|}}}|{{{quantity}}}|-1}}}}</includeonly><noinclude>{{/doc}}</noinclude>
697

edits