Template:Topics Sidebar: Difference between revisions
Jump to navigation
Jump to search
(Updated documentation to include new template) |
m (Fixing color (again)) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{|border="0" cellspacing="0" width=" | <includeonly>{|border="0" cellspacing="0" width="350px" align="right" class="whitelinks" | ||
! style="font-size: 120%; background: {{{COLOR|#A61E22 | ! 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|}}}| | {{!}}[[File:{{{IMAGE|}}}|350px|link=]]}} | ||
{{#if: {{{CONTENT|}}}|{{!}}- style="background-color: #363940;" | {{#if: {{{CONTENT|}}}|{{!}}- style="background-color: #363940;" | ||
{{!}} | {{!}} | ||
Line 23: | Line 23: | ||
{{Topics Collapsible Table|TITLE=Title for section 1|First row|2nd row|3rd row|[[Links are also supported]]}} | {{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]]}} | {{Topics Collapsible Table|TITLE=Another section table|You can|have|multiple|tables and topics|[[That may or may not be links]]}} | ||
<!-- And so on --> | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
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 --> }}