Template:GameInfobox: Difference between revisions

No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 25: Line 25:
   | data9 = {{#if:{{{playlist|}}}|{{JoeYT2PlaylistCite|{{{playlist}}}|title={{{name|{{PAGENAME}}}}}}}}}
   | data9 = {{#if:{{{playlist|}}}|{{JoeYT2PlaylistCite|{{{playlist}}}|title={{{name|{{PAGENAME}}}}}}}}}


   | data10 = <div style="padding: 0.5em 0; border-top: 1px dashed #ccc; display: grid; text-align: center; align-items: center; justify-items: center; grid-template-columns: 1fr auto auto auto 1fr; gap: 0.5em;">{{#if:{{{series|}}}|{{#if:{{{previous_in_series|}}}|<span style="justify-self: end">{{{previous_in_series}}}</span><span>←</span>|<span></span><span></span>}}[[:Category:{{{series}}}|In Series]]{{#if:{{{next_in_series|}}}|<span>→</span><span style="justify-self: start">{{{next_in_series}}}</span>|<span></span><span></span>}}}}{{#if:{{{previous_played|}}}|<span style="justify-self: end">{{{previous_played}}}</span><span>←</span>|<span></span><span></span>}}[[:Category:Games|All Games]]{{#if:{{{next_played|}}}|<span>→</span><span style="justify-self: start">{{{next_played}}}</span>|<span></span><span></span>}}</div>
  | label10 = Joe Ecosystem
   | data10 = {{#if:{{{jasb|}}}|[https://bets.jads.stream/games/{{{jasb}}} Bets]}}


   | header11 = Related Pages
   | data11 = <div style="padding: 0.5em 0; border-top: 1px dashed #ccc; display: grid; text-align: center; align-items: center; justify-items: center; grid-template-columns: 1fr auto auto auto 1fr; gap: 0.5em;">{{#if:{{{series|}}}|{{#if:{{{previous_in_series|}}}|<span style="justify-self: end">{{{previous_in_series}}}</span><span>←</span>|<span></span><span></span>}}[[:Category:{{{series}}}|In Series]]{{#if:{{{next_in_series|}}}|<span>→</span><span style="justify-self: start">{{{next_in_series}}}</span>|<span></span><span></span>}}}}{{#if:{{{previous_played|}}}|<span style="justify-self: end">{{{previous_played}}}</span><span>←</span>|<span></span><span></span>}}[[:Category:Games|All Games]]{{#if:{{{next_played|}}}|<span>→</span><span style="justify-self: start">{{{next_played}}}</span>|<span></span><span></span>}}</div>
   | data12 = <div style="text-align: center;">{{hlist|[[:Category:{{{name|{{PAGENAME}}}}}|Game]]|{{#if:{{{series|}}}|[[:Category:{{{series}}}|Series]]}}}}
 
}}[[Category:Games]]{{#if:{{{series|}}}|* [[Category:{{{series}}}|Series]]}}</div>
  | header12 = Related Pages
   | data13 = <div style="text-align: center;">{{hlist|[[:Category:{{{name|{{PAGENAME}}}}}|Game]]|{{#if:{{{series|}}}|[[:Category:{{{series}}}|Series]]}}}}
}}[[Category:Games]][[Category:{{{name|{{PAGENAME}}}}}]]{{#if:{{{series|}}}|* [[Category:{{{series}}}|Series]]}}</div>
</includeonly><noinclude>
</includeonly><noinclude>
<templatedata>
<templatedata>
Line 109: Line 112:
"description": "The game Joe played after this one. This should be a link.",
"description": "The game Joe played after this one. This should be a link.",
"type": "content"
"type": "content"
},
"jasb": {
"label": "JASB Bets Slug",
"description": "The slug (part of the URL) for JASB bets for the game.",
"type": "string"
}
}
},
},
Line 126: Line 134:
"next_in_series",
"next_in_series",
"previous_played",
"previous_played",
"next_played"
"next_played",
"jasb"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>