Show: Difference between revisions
From Sagan 4 Alpha Wiki
imported>Disgustedorite (new auto category just dropped) |
imported>Disgustedorite No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
Example: <nowiki>{{Show|SpeciesInfo|Golden Sauceback|genus}}</nowiki> |
Example: <nowiki>{{Show|SpeciesInfo|Golden Sauceback|genus}}</nowiki> |
||
Above code displays the following: </noinclude>{{#cargo_query:tables={{{1|SpeciesInfo}}} |
Above code displays the following: </noinclude><!--{{#cargo_query:tables={{{1|SpeciesInfo}}} |
||
|fields={{{3|genus}}} |
|fields={{{3|genus}}} |
||
|where=_pageName="{{{2|Golden Sauceback}}}"|no html}}--><onlyinclude>{{#show:{{{2|Golden Sauceback}}}{{#if:{{#show:{{{2|Golden Sauceback}}}|?{{{3|Pagetype}}}|link=none}}||/Data}}|?{{{3|genus}}}|link=none}}</onlyinclude> |
|||
|where=_pageName="{{{2|Golden Sauceback}}}"|limit=1|more results text=|default=No results[[Category:Pages containing cargo querys which returned no results]]|no html}} |
|||
<noinclude>[[category:Templates]]</noinclude> |
Latest revision as of 02:21, 18 April 2023
Displays specific data from a specific page in a specific table.
Format: {{Show|TableName|PageName|Dataname}}
Example: {{Show|SpeciesInfo|Golden Sauceback|genus}}
Above code displays the following: Vermitherium