Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Maintenance: Difference between revisions

Template page
(Created page with "<!-- Template:Maintenance -------------------- Meta-template for all maintenance templates that are used on top of page or section @param {string} label Label for the maintenance template @param {string} content Content for the maintenance template @param {string} color Color of the template (red, yellow, green) @param {string} icon File name of the icon @param {string} quote Quote for the maintenance template @param {string} cite Citation for the quote @param {string}...")
 
No edit summary
Tag: Manual revert
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--
<div class="t-maintenance metadata {{#if:{{{color|}}}|t-maintenance--{{{color}}}}}">
 
     <div class="ext-floatingui-reference">
Template:Maintenance
         {{#if:{{{icon|}}}|<div class="t-maintenance-icon">[[File:{{{icon}}}|16px|link=]]</div>}}
--------------------
         <div class="t-maintenance-label">{{{label}}}</div>
Meta-template for all maintenance templates that are used on top of page or section
     </div>
 
     <div class="ext-floatingui-content">
@param {string} label Label for the maintenance template
         {{{content}}}
@param {string} content Content for the maintenance template
         {{#if:{{{quote|}}}|{{Blockquote|{{{quote}}}|{{{cite|}}}}}}}
@param {string} color Color of the template (red, yellow, green)
     </div>
@param {string} icon File name of the icon
</div>
@param {string} quote Quote for the maintenance template
<includeonly>
@param {string} cite Citation for the quote
{{{category|}}}
@param {string} category Category added by the maintenance template
</includeonly>
 
<noinclude>
@return {string} wikitext of the maintenance template
{{/doc}}
 
</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>

Latest revision as of 03:12, 14 December 2024


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[edit source]

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