User:Quacks/Testing: Difference between revisions

From Artea Station
Jump to navigation Jump to search
m (Slated for removal WIP)
mNo edit summary
Line 1: Line 1:
<center>
<div style="border-radius: 1em; margin: .35em 1em 1em 0em; background: {{{color|#444}}}; width: {{{width|100%}}};">
{{Pageframe
<div style="background: {{{color|#444}}}; border-radius: 1em 1em 0 0; color: #FFF; padding: .3em .3em .3em .3em; box-shadow: 0 0 .5em #888;"><center>{{#if:{{{icon|}}}|<span style="float:left; color: #FFF; margin-left: .42em;">{{{icon}}}</span>|}}'''{{{title}}}'''{{#if:{{{icon|}}}|<span style="float:right; color: #FFF; margin-right: 0.42em;">{{{icon}}}</span>|}}</center></div>
| color = #D9042B
<div style="background: #FFFFFF;">
| icon = {{#fas:trash-can}}
<div style="border: solid {{{color|#444444}}}8e; border-width: 0 0 .15em 0;"></div>
| title = This article or section has been slated for removal.
<div style="margin: .42em .5em .5em .5em; padding: .15em; background: {{{color|#444444}}}1e; border-radius: 0 0 1em 1em; box-shadow: 0 0 .3em #888;">
| content = '''Reason:''' {{{reason|Not defined}}}<hr>
<div class="mw-collapsible mw-collapsed" data-expandtext="Expand">
This section or article has been slated for removal. It will be reviewed and either be removed or have this tag taken away.
{{{header}}}
| width = 90%
<div class="mw-collapsible-content"><hr>
}}</center><includeonly>[[Category:Slated for removal]]</includeonly><noinclude>[[Category:Maintenance templates]]
{{{content}}}
</div></div>
</div></div></div><noinclude>[[Category:Styling Templates]]
<div style="background: red; color: #FFF;"><center>'''THIS TEMPLATE SHOULD NOT BE EDITED UNLESS ABSOLUTELY NESSESARY'''</center></div>
==How to use this template==
==How to use this template==
The following will be a short explanation of this template and its parameters.
This template has several parameters and all of them will be displayed in the example below.


*<code>reason</code> Can be used to define the reason why a page is flagged for removal. If left empty it will display: ''Not defined''.
*<code>color</code> Controls the color in this template.
*<code>icon</code> Can be used to add a small Icon to the top bar of the template, if left empty no icon will be shown.
*<code>title</code>Sets the title of the template in the top bar.
*<code>header</code>Controls the contents of the header in the lower box.
*<code>content</code>Controls the contents of the lower box.
*<code>width</code>Controls the width of the whole template.


'''Important note:''' Please always provide a, as clear as possible reason for why you are marking a page for removal.
'''Important note:''' The <code>icon</code> parameter is <u>only</u> meant to be used with the [https://www.mediawiki.org/wiki/Extension:FontAwesome FontAwesome extension] For usage see the extension itself. A list of use-able icons can be found here [https://fontawesome.com/v5/search?o=r&m=free on the FontAwesome website] (We can only use Free Icons from version 5.15.4 or older, keep this in mind when looking for icons to use.)
 
<pre>{{PageframeCollapse
<pre>To use this template simply add the following to a page.
| color = #005C53
| icon = {{#fas:gavel}}
| title = Test1
| content = Test2
| width = 80%
}}


{{Template:Slated for removal
These parameters will result in the following:
| reason = EXAMPLE REASON
</pre>
{{PageframeCollapse
| color = #005C53
| icon = {{#fas:gavel}}
| title = Test1
| content = Test2
| width = 80%
}}
}}
</pre></noinclude>
</noinclude>

Revision as of 13:25, 12 March 2023

{{{title}}}

{{{header}}}


{{{content}}}

THIS TEMPLATE SHOULD NOT BE EDITED UNLESS ABSOLUTELY NESSESARY

How to use this template

This template has several parameters and all of them will be displayed in the example below.

  • color Controls the color in this template.
  • icon Can be used to add a small Icon to the top bar of the template, if left empty no icon will be shown.
  • titleSets the title of the template in the top bar.
  • headerControls the contents of the header in the lower box.
  • contentControls the contents of the lower box.
  • widthControls the width of the whole template.

Important note: The icon parameter is only meant to be used with the FontAwesome extension For usage see the extension itself. A list of use-able icons can be found here on the FontAwesome website (We can only use Free Icons from version 5.15.4 or older, keep this in mind when looking for icons to use.)

{{PageframeCollapse
| color = #005C53
| icon = {{#fas:gavel}}
| title = Test1
| content = Test2
| width = 80%
}}

These parameters will result in the following:
Test1

{{{header}}}


Test2