Template:Sandbox/User:Alsang: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Profession info|main}}</includeonly><noinclude>{{/doc}}</noinclude> |
|||
<!-- 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.Location quantity#-|format=plainlist|limit=1|headers=hide|mainlabel=-}}}} |
|||
<td>[[{{#var:loc}}]]</td> |
|||
<td>{{#show: {{#var:loc}} |?Episode }}</td> |
|||
<td>{{#if:{{#var:quantity|}}|{{#var:quantity}}|{{Unknown}}}}</td> |
|||
</tr> |
|||
</includeonly><noinclude> |
|||
Syntax is |
|||
<nowiki>{{Sandbox/User:Alsang|parent=parentname}}</nowiki> |
|||
</noinclude> |
Revision as of 00:18, 16 December 2024
Template documentation
This documentation is transcluded from Template:Sandbox/User:Alsang/doc. [edit] [history] [purge]
This template does not have any documentation. Please consider adding documentation at Template:Sandbox/User:Alsang/doc. [edit]
Template:Sandbox/User:Alsang invokes function main in Module:Profession info using Lua.