Sandbox: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
==Templates== | ==Templates== | ||
{| | |||
|- | |||
| [[Template:Messagebox]] || A Message box typically at the top of a page (Purple) || <span style="color:red;">Incomplete</span> | |||
|- | |||
| [[Template:Todo]] || A Things to do message box, typically shown at the top of the page || <span style="color:red;">Incomplete</span> | |||
|- | |||
| [[Template:Infobox]] || An information box displayed within a page with an icon || <span style="color:red;">Incomplete</span> | |||
|- | |||
| [[Template:Info]] || Information box with an Informational message (blue) || <span style="color:red;">Incomplete</span> | |||
|- | |||
| [[Template:Warning]] || Information box with an warning message (Orange) || <span style="color:red;">Incomplete</span> | |||
|- | |||
| [[Template:Error]] || Information box with an error message (Red) || <span style="color:red;">Incomplete</span> | |||
|- | |||
| [[Template:InlineError]] || Inline error message (Red) || <span style="color:red;">Need to copy from Template:Error</span> | |||
|- | |||
| [[Template:Icon]] || Shows an icon image|| <span style="color:red;">Incomplete</span> | |||
|} | |||
* [[:Category:Templates]] | |||
* [[:Category:Todo]] | |||
==Examples== | ==Examples== | ||
Line 12: | Line 32: | ||
<code><nowiki>{{Messagebox|General information|title=Warning|icon=Warning}}</nowiki></code>{{Messagebox|General | <code><nowiki>{{Messagebox|General information|title=Warning|icon=Warning}}</nowiki></code>{{Messagebox|General | ||
information|title=Warning|icon=Warning}} | information|title=Warning|icon=Warning}} | ||
<code><nowiki>{{Todo}}</nowiki></code>{{Todo}} | |||
<code><nowiki>{{Todo|Fix tables}}</nowiki></code>{{Todo|Fix tables}} | |||
<code><nowiki>{{Infobox}}</nowiki></code>{{Infobox}} | |||
<code><nowiki>{{Infobox|This is an InfoBox}}</nowiki></code>{{Infobox|This is an InfoBox}} | |||
<code><nowiki>{{Infobox|This is an InfoBox|level=info}}</nowiki></code>{{Infobox|This is an InfoBox|level=info}} | |||
<code><nowiki>{{Infobox|This is an InfoBox|level=warning}}</nowiki></code>{{Infobox|This is an InfoBox|level=warning}} | |||
<code><nowiki>{{Infobox|This is an InfoBox|level=error}}</nowiki></code>{{Infobox|This is an InfoBox|level=error}} | |||
<code><nowiki>{{Info}}</nowiki></code>{{Info}} | |||
<code><nowiki>{{Info|Missing information}}</nowiki></code>{{Info|Missing information}} | |||
<code><nowiki>{{Warning}}</nowiki></code>{{Warning}} | |||
<code><nowiki>{{Warning|Missing information}}</nowiki></code>{{Warning|Missing information}} | |||
<code><nowiki>{{Error}}</nowiki></code>{{Error}} | |||
<code><nowiki>{{Error|Missing information}}</nowiki></code>{{Error|Missing information}} | |||
<code><nowiki>The argument is: {{Error}}</nowiki></code> | |||
The argument is: {{Error}} | |||
<code><nowiki>The argument is: {{Error|Missing information}}</nowiki></code> | |||
The argument is: {{Error|Missing information}} | |||
--- | |||
[[Prominent People]], |
Latest revision as of 09:25, 29 March 2024
This page is used to test out content and templates before they are released and added to pages:
Templates[edit]
Template:Messagebox | A Message box typically at the top of a page (Purple) | Incomplete |
Template:Todo | A Things to do message box, typically shown at the top of the page | Incomplete |
Template:Infobox | An information box displayed within a page with an icon | Incomplete |
Template:Info | Information box with an Informational message (blue) | Incomplete |
Template:Warning | Information box with an warning message (Orange) | Incomplete |
Template:Error | Information box with an error message (Red) | Incomplete |
Template:InlineError | Inline error message (Red) | Need to copy from Template:Error |
Template:Icon | Shows an icon image | Incomplete |
Examples[edit]
{{Messagebox}}
! Missing Argument !
{{Messagebox|General information}}
General information
{{Messagebox|General information|title=Warning}}
General information
{{Messagebox|General information|icon=Warning}}
General information
{{Messagebox|General information|title=Warning|icon=Warning}}
General information
{{Todo}}
Things to do
{{Todo|Fix tables}}
Fix tables
{{Infobox}}
{{Infobox|This is an InfoBox}}
{{Infobox|This is an InfoBox|level=info}}
info
{{Infobox|This is an InfoBox|level=warning}}
warning
{{Infobox|This is an InfoBox|level=error}}
error
{{Info}}
Template:Info
{{Info|Missing information}}
Template:Info
{{Warning}}
Template:Warning
{{Warning|Missing information}}
Template:Warning
{{Error}}
! ERROR !
{{Error|Missing information}}
! Missing information !
The argument is: {{Error}}
The argument is:
! ERROR !
The argument is: {{Error|Missing information}}
The argument is:
! Missing information !
---