Template:Sandbox/User:Alsang: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Created page with "<!-- Intented to be a version of LocLine that inherits locations from a parent, and then displays them without making subobjects --> <includeonly> <tr> {{#vardefine:loc|{{#ask:[[{{{parent}}}]]|?Has subobject.Located in|format=plainlist|limit=1|headers=hide|mainlabel=-}}}} {{#vardefine:quantity|{{#ask:[[{{{parent}}}]]|?Has subobject.Located in|format=plainlist|limit=1|headers=hide|mainlabel=-}}}} <td>[[{{{loc}}}]]</td> <td>{{#show: {{{loc}}} |?Episode }}</td> <td>{{#if:{{...")
 
No edit summary
Line 4: Line 4:
{{#vardefine:loc|{{#ask:[[{{{parent}}}]]|?Has subobject.Located in|format=plainlist|limit=1|headers=hide|mainlabel=-}}}}
{{#vardefine:loc|{{#ask:[[{{{parent}}}]]|?Has subobject.Located in|format=plainlist|limit=1|headers=hide|mainlabel=-}}}}
{{#vardefine:quantity|{{#ask:[[{{{parent}}}]]|?Has subobject.Located in|format=plainlist|limit=1|headers=hide|mainlabel=-}}}}
{{#vardefine:quantity|{{#ask:[[{{{parent}}}]]|?Has subobject.Located in|format=plainlist|limit=1|headers=hide|mainlabel=-}}}}
<td>[[{{{loc}}}]]</td>
<td>[[{{#var:loc}}]]</td>
<td>{{#show: {{{loc}}} |?Episode }}</td>
<td>{{#show: {{#var:loc}} |?Episode }}</td>
<td>{{#if:{{{quantity|}}}|{{{quantity}}}|{{Unknown}}}}</td>
<td>{{#if:{{#var:quantity|}}|{{#var:quantity}}|{{Unknown}}}}</td>
</tr>
</tr>
</includeonly><noinclude>{{/doc}}</noinclude>
</includeonly><noinclude>{{/doc}}</noinclude>