More actions
No edit summary Tag: Reverted |
No edit summary Tags: Manual revert Reverted |
||
Line 1: | Line 1: | ||
<div class="t-maintenance metadata {{#if:{{{color|}}}|t-maintenance--{{{color}}}}}"> | <!-- | ||
<div class="ext-floatingui-reference"> | |||
{{#if:{{{icon|}}}|<div class="t-maintenance-icon">[[File:{{{icon}}}|16px|link=]]</div>}} | Template:Maintenance | ||
<div class="t-maintenance-label">{{{label}}}</div> | -------------------- | ||
</div> | Meta-template for all maintenance templates that are used on top of page or section | ||
<div class="ext-floatingui-content"> | |||
{{{content}}} | @param {string} label Label for the maintenance template | ||
{{#if:{{{quote|}}}|{{Blockquote|{{{quote}}}|{{{cite|}}}}}}} | @param {string} content Content for the maintenance template | ||
</div> | @param {string} color Color of the template (red, yellow, green) | ||
</div> | @param {string} icon File name of the icon | ||
<includeonly> | @param {string} quote Quote for the maintenance template | ||
{{{category|}}} | @param {string} cite Citation for the quote | ||
</includeonly> | @param {string} category Category added by the maintenance template | ||
<noinclude> | |||
{{/doc}} | @return {string} wikitext of the maintenance template | ||
</noinclude> | |||
Load FloatingUI | |||
--------------- | |||
-->{{#floatingui:}}<!-- | |||
TemplateStyles | |||
-------------- | |||
--><templatestyles src="Template:Maintenance/styles.css"/><!-- | |||
Template | |||
-------- | |||
--><div class="t-maintenance metadata {{#if:{{{color|}}}|t-maintenance--{{{color}}}}}"><!-- | |||
--><div class="ext-floatingui-reference"><!-- | |||
-->{{#if:{{{icon|}}}|<div class="t-maintenance-icon">[[File:{{{icon}}}|16px|link=]]</div>}}<!-- | |||
--><div class="t-maintenance-label">{{{label}}}</div><!-- | |||
--></div><!-- | |||
--><div class="ext-floatingui-content"><!-- | |||
-->{{{content}}}<!-- | |||
-->{{#if:{{{quote|}}}|{{Blockquote|{{{quote}}}|{{{cite|}}}}}}}<!-- | |||
--></div><!-- | |||
--></div><!-- | |||
--><includeonly><!-- | |||
-->{{{category|}}}<!-- | |||
--></includeonly><!-- | |||
--><noinclude><!-- | |||
Template documentation | |||
---------------------- | |||
-->{{/doc}}<!-- | |||
--></noinclude> |
Revision as of 03:12, 14 December 2024
{{#floatingui:}}<templatestyles src="Template:Maintenance/styles.css"/>
Meta-template for all maintenance templates that are used on top of page or section. This is only meant to be used in another template.
Parameters
Type | Name | Description |
---|---|---|
string | label |
Label for the maintenance template |
string | content |
Content for the maintenance template |
string | color |
Color of the template (red, yellow, green) |
string | icon |
File name of the icon |
string | quote |
Quote for the maintenance template |
string | cite |
Citation for the quote |
string | category |
Category added by the maintenance template |