Template:Topics Sidebar: Difference between revisions
Jump to navigation
Jump to search
m (Pipe correction) |
m (Fixing color (again)) |
||
(8 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{{#if: {{{ | ! 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|}}}|{{!}}[[File:{{{IMAGE|}}}| | {{!}}[[File:{{{IMAGE|}}}|350px|link=]]}} | ||
|- style="background-color: #363940;" | {{#if: {{{CONTENT|}}}|{{!}}- style="background-color: #363940;" | ||
{{!}} | |||
{{{CONTENT|}}} | {{{CONTENT|}}}}} | ||
|- style="background-color: #363940;" | {{#if:{{{FOOTER|}}}|{{!}}- style="background-color: #363940;" | ||
{{!}} align="center" style="color: white;"{{!}}{{{FOOTER|}}}}} | |||
|- style="background-color: #363940;" | |- style="background-color: #363940;" | ||
| align="right" class="plainlinks"|[[Template:{{{TEMPLATE|}}}|<span title="View this template">V</span>]] [{{fullurl:Template:{{{TEMPLATE|}}}|action=edit}} <span title="Edit this template" style="color: white;">E</span>] | | align="right" class="plainlinks"|[[Template:{{{TEMPLATE|}}}|<span title="View this template">V</span>]] [{{fullurl:Template:{{{TEMPLATE|}}}|action=edit}} <span title="Edit this template" style="color: white;">E</span>] | ||
Line 17: | Line 17: | ||
|HEADER= | |HEADER= | ||
|IMAGE= <!-- Optional. Will hide the row entirely if not given. --> | |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= | |FOOTER= | ||
|TEMPLATE= <!-- Template name. Used for the view and edit links at the bottom right. --> | |TEMPLATE= <!-- Template name. Used for the view and edit links at the bottom right. --> | ||
|CONTENT= | |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 --> | |||
}} | }} | ||
</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 --> }}