Dicemonger (talk | contribs) mNo edit summary |
Dicemonger (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:Session|Date|Body|Treasure}} | {{#template_params:Session|Date|GameDate|Body|Treasure}} | ||
{{#cargo_declare:_table=Sessions|Name=String|Session=Integer|Date=Date|Body=Wikitext|Treasure=Wikitext}} | {{#cargo_declare:_table=Sessions|Name=String|Session=Integer|Date=Date|GameDate=Date|Body=Wikitext|Treasure=Wikitext}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Sessions|Name={{SUBPAGENAME}}}} | </noinclude><includeonly>{{#cargo_store:_table=Sessions|Name={{SUBPAGENAME}}}} | ||
<yambe:breadcrumb>Sessions</yambe:breadcrumb>{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}} | <yambe:breadcrumb>Sessions</yambe:breadcrumb>{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}} | ||
<div class="flexcardcontainer"><div class="flexcard_main">''{{{ | <div class="flexcardcontainer"><div class="flexcard_main">''{{{GameDate|}}}'' | ||
{{{Body|}}} | {{{Body|}}} | ||
{{#if:{{{Treasure|}}}|{{DataCard|{{{Treasure|}}}}}|}}</div><div class="flexcard_side" style="min-width:270px;background-color:var(--pi-secondary-background)">{{#cargo_query:tables=Sessions|fields=CONCAT( '[[', _pageName, '|', Session ,': ', Name, ']]' )|format=ul}}</div> | {{#if:{{{Treasure|}}}|{{DataCard|{{{Treasure|}}}}}|}}</div><div class="flexcard_side" style="min-width:270px;background-color:var(--pi-secondary-background)">'''Session Occured:''': {{{Date|}}} | ||
{{#cargo_query:tables=Sessions|fields=CONCAT( '[[', _pageName, '|', Session ,': ', Name, ']]' )|format=ul}}</div> | |||
[[Category:Sessions]] | [[Category:Sessions]] | ||
</includeonly> | </includeonly> |
Revision as of 10:32, 16 June 2023
This is the "Session" template.
It should be called in the following format:
{{Session |Session= |Date= |GameDate= |Body= |Treasure= }}
Edit the page to see the template text.
This template defines the table "Sessions". View table.