Template:Show: Difference between revisions

From Sagan 4 Alpha Wiki
Jump to navigation Jump to search
Content added Content deleted
imported>Disgustedorite
(Created page with "<noinclude>Displays specific data from a specific page in a specific table. Format: <nowiki>{{Show|TableName|PageName|Dataname}}</nowiki> Example: <nowiki>{{Show|SpeciesInf...")
 
imported>Disgustedorite
No edit summary
 
(5 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}}
|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>

<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