Template:Topics Sidebar: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (Documentation fix)
(More modification)
Line 3: Line 3:
{{#if:{{{IMAGE|}}}|{{!}}- style="background-color: #363940;"
{{#if:{{{IMAGE|}}}|{{!}}- style="background-color: #363940;"
{{!}}[[File:{{{IMAGE|}}}|175px|link=]]}}
{{!}}[[File:{{{IMAGE|}}}|175px|link=]]}}
|- style="background-color: #363940;"
{{#if: {{{CONTENT|}}}|{{!}}- style="background-color: #363940;"
|
{{!}}
{{{CONTENT|}}}
{{{CONTENT|}}}}}
{{#if:{{{FOOTER|}}}|{{!}}- style="background-color: #363940;"
{{#if:{{{FOOTER|}}}|{{!}}- style="background-color: #363940;"
{{!}} align="center" style="color: white;"{{!}}{{{FOOTER|}}}}}
{{!}} align="center" style="color: white;"{{!}}{{{FOOTER|}}}}}

Revision as of 07:12, 12 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=
<!-- Table templates and usage go here -->
}}