Show: Difference between revisions
From Sagan 4 Alpha Wiki
imported>Disgustedorite (Change: if species being queried is from a compound submission (ie a subgenus), it will pull data from the SpeciesData namespace instead.) |
imported>Disgustedorite No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
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:{{# |
|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> |
<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