Template:Topics Sidebar: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (Color fix)
m (Fixing color (again))
 
Line 1: Line 1:
<includeonly>{|border="0" cellspacing="0" width="350px" align="right" class="whitelinks"
<includeonly>{|border="0" cellspacing="0" width="350px" align="right" class="whitelinks"
! style="font-size: 120%; background: {{#if:{{{COLOR|}}}|{{{COLOR}}}|#A61E22}}; border-radius: 0px 20px 0px 0px; color: white;"| {{#if: {{{HEADER|}}}|{{ColoredLink|{{{HEADER|}}}|white}}|Nav Header}}
! style="font-size: 120%; background: {{#if:{{{COLOR|}}}|<nowiki/>{{{COLOR}}}|<nowiki/>#A61E22}}; border-radius: 0px 20px 0px 0px; color: white;"| {{#if: {{{HEADER|}}}|{{ColoredLink|{{{HEADER|}}}|white}}|Nav Header}}
{{#if:{{{IMAGE|}}}|{{!}}- style="background-color: #363940;"
{{#if:{{{IMAGE|}}}|{{!}}- style="background-color: #363940;"
{{!}}[[File:{{{IMAGE|}}}|350px|link=]]}}
{{!}}[[File:{{{IMAGE|}}}|350px|link=]]}}

Latest revision as of 09:00, 14 June 2021

Template description pending.

Template usage:

{{Topics Sidebar
|HEADER=
|IMAGE= <!-- Optional. Will hide the row entirely if not given. -->
|COLOR= <!-- Both solid colors and gradients may be used. Defaults to red if omitted. -->
|FOOTER=
|TEMPLATE= <!-- Template name. Used for the view and edit links at the bottom right. -->
|CONTENT=
{{Topics Collapsible Table|TITLE=Title for section 1|First row|2nd row|3rd row|[[Links are also supported]]}}
{{Topics Collapsible Table|TITLE=Another section table|You can|have|multiple|tables and topics|[[That may or may not be links]]}}
<!-- And so on -->
}}