Template:Topics Sidebar: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Creation of new sidebar template)
 
m (Correction of parameter issue)
Line 7: Line 7:
{{{CONTENT|}}}
{{{CONTENT|}}}
|- style="background-color: #363940;"
|- style="background-color: #363940;"
{{#if:{{{IMAGE|}}}|{{!}} align="center" style="color: white;"|{{{FOOTER|}}}}}
{{#if:{{{FOOTER|}}}|{{!}} 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>]

Revision as of 22:26, 11 June 2021

Template description pending.

Template usage:

{{Topics Sidebar
|HEADER=
|IMAGE= <!-- Optional. Will hide the row entirely if not given. -->
|GRADIENT= <!-- Only ONE of GRADIENT or COLOR is required. Use COLOR for a solid color, and GRADIENT for a gradient of some sort. Only affects the colored top. Defaults to red if both are absent. -->
|COLOR=
|FOOTER=
|TEMPLATE= <!-- Template name. Used for the view and edit links at the bottom right. -->
|CONTENT=
<!-- Table templates and usage go here -->
}}