Template:Show: Difference between revisions

From Sagan 4 Alpha Wiki
Jump to navigation Jump to search
Content added Content deleted
imported>Disgustedorite
(new auto category just dropped)
imported>Disgustedorite
No edit summary
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}}}"|limit=1|more results text=|default=No results[[Category:Pages containing cargo querys which returned no results]]|no html}}
|where=_pageName="{{{2|Golden Sauceback}}}"|no html}}--><onlyinclude>{{#show:{{{2|Golden Sauceback}}}|?{{{3|genus}}}|link=none}}</onlyinclude>

<noinclude>[[category:Templates]]</noinclude>

Revision as of 18:54, 12 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