Template:Sandbox/User:Illuminatiswag: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 2: Line 2:
|main
|main
|tables=GeneralData=GD
|tables=GeneralData=GD
|where=PlainName LIKE "%{{{1}}}"
|where=PlainName LIKE "{{{pattern}}}"
|fields = {{favilink format args}}, Description, DisplayName, PlainName
|fields = {{favilink format args}}, Description, DisplayName, PlainName
|template=Sandbox/User:Illuminatiswag/Row
|template=Sandbox/User:Illuminatiswag/Row
|order by= GD.ObjectID ASC
|order by= GD.PlainName ASC
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Returns a shared table between all "characters" (this includes walls) with the same name prefix. There is only one unnamed parameter which is the shared ObjectID the characters share. The rows are formatted using [[Template:Sandbox/User:IlluminatiSwag/Row]].
Returns a shared table between all objects whose name matches the input pattern. The rows are formatted using [[Template:Sandbox/User:IlluminatiSwag/Row]].
== Usage ==
== Usage ==
<pre>{{Sandbox/User:Illuminatiswag|gilded marble}}</pre>
<pre>{{Sandbox/User:Illuminatiswag|carved stone%}}</pre>
This pulls data from the various gilded marbles from the different sultanates.
This pulls data from the various carved stones from the different sultanates.


Output:
Output:
{{Sandbox/User:Illuminatiswag|oven}}
{{Sandbox/User:Illuminatiswag|pattern=carved stone%}}
[[Category:Query Templates]]
[[Category:Query Templates]]
</noinclude>
</noinclude>