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

Template:Incompleto: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Maintenance/styles.css" />
<div class="maintenance-template {{#if:{{{color|}}}|maintenance-template--{{{color}}}}}">
  <div class="maintenance-header">
    {{#if:{{{icon|}}}|<div class="maintenance-icon">[[File:{{{icon}}}|24px|link=]]</div>}}
    <div class="maintenance-title">{{{label}}}</div>
  </div>
  <div class="maintenance-body">
    {{{content}}}
  </div>
</div>
<includeonly>
<includeonly>
{{{category|}}}
</includeonly>
<noinclude>
== Documentation ==
This template is used to display a maintenance message with a customizable label, icon, and content.
=== Parameters ===
* `label` - The title or label for the maintenance message.
* `content` - The main text of the message.
* `color` - Optional. Adds a color theme (e.g., `yellow`, `red`, `green`).
* `icon` - Optional. Specifies the file name of an icon to display.
* `category` - Optional. Adds a category to the page.
=== Usage ===
<pre>
{{Maintenance
{{Maintenance
| label = Incomplete
| content = This article is under construction.
| color = yellow
| color = yellow
| icon = Material icon - Construction.svg
| icon = Material icon - Construction.svg
| label = Incomplete
| category = [[Category:Under Construction]]
| quote = We have a long way to go, and there is time ahead for thought.
| cite = [[Treebeard]]
| content = This article or section is in the early stages of construction and should not be viewed as complete, or even close to being finished.
| category = [[Category:Incomplete Articles]]
}}
}}
</includeonly>
</pre>
<noinclude>
{{/doc}}
</noinclude>
</noinclude>

Latest revision as of 03:17, 14 December 2024

<templatestyles src="Template:Maintenance/styles.css" />

{{#if:|
[[File:{{{icon}}}|24px|link=]]
}}
{{{label}}}
   {{{content}}}



Documentation[edit source]

This template is used to display a maintenance message with a customizable label, icon, and content.

Parameters[edit source]

  • `label` - The title or label for the maintenance message.
  • `content` - The main text of the message.
  • `color` - Optional. Adds a color theme (e.g., `yellow`, `red`, `green`).
  • `icon` - Optional. Specifies the file name of an icon to display.
  • `category` - Optional. Adds a category to the page.

Usage[edit source]

{{Maintenance
| label = Incomplete
| content = This article is under construction.
| color = yellow
| icon = Material icon - Construction.svg
| category = [[Category:Under Construction]]
}}