Difference between pages "Template:Help:Marking Articles" and "Template:Ombox/core"

From SC4D Encyclopaedia
(Difference between pages)
Jump to navigation Jump to search
sc4e>Freedo50
 
sc4e>Freedo50
(New page: <table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|ombox-small}} {{#switch:{{{type|}}} | speedy = ombox-speedy | delete = ombox-delete | content = ombox-content | style ...)
 
Line 1: Line 1:
Sometimes you will make a mistake and create a page with a bad name, or you will spot a mis-spelled article title. In these situations, you should mark the article with the appropriate template, which will automatically place the article into one of the [[Requests| requests categories]]. Once there is reasonable certainty that the problem has been alleviated, then the template can be removed.
+
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|ombox-small}}
 +
{{#switch:{{{type|}}}
 +
| speedy    = ombox-speedy
 +
| delete    = ombox-delete
 +
| content    = ombox-content
 +
| style      = ombox-style
 +
| move      = ombox-move
 +
| protection = ombox-protection
 +
| notice          <!-- notice = default -->
 +
| #default  = ombox-notice
 +
}}" style="{{{style|}}}">
 +
<tr>
 +
{{#ifeq:{{{image|}}}|none
 +
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
 +
| <td class="mbox-image">
 +
  {{#if:{{{image|}}}
 +
  | {{{image}}}
 +
  | [[Image:{{#switch:{{{type|}}}
 +
    | speedy    = Imbox speedy deletion.png
 +
    | delete    = Imbox deletion.png
 +
    | content    = Imbox content.png
 +
    | style      = Imbox style.png
 +
    | move      = Imbox move.png
 +
    | protection = Imbox protection.png
 +
    | notice          <!-- notice = default -->
 +
    | #default  = Imbox notice.png
 +
    }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
 +
  }}</td>
 +
}}
 +
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
 +
{{#if:{{{imageright|}}}
 +
| {{#ifeq:{{{imageright|}}}|none
 +
  | <!-- No image. -->
 +
  | <td class="mbox-imageright"> {{{imageright}}} </td>
 +
  }}
 +
}}
 +
</tr>
 +
</table><!-- Detect and report usage with faulty "type" parameter:
 +
-->{{#switch:{{{type|}}}
 +
|  <!-- No type fed, is also valid input -->
 +
| speedy
 +
| delete
 +
| content
 +
| style
 +
| move
 +
| protection
 +
| notice    =    <!-- Do nothing, valid "type" -->
 +
| #default  = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
 +
}}<noinclude>
  
The following table details all of the templates currently available on this wiki:
+
{{pp-template|small=yes}}
  
{| border="1" cellspacing="0"
+
</noinclude>
! style="background:#A0C0F0;"| Template Name
 
! style="background:#A0C0F0;"| What you type
 
! style="background:#A0C0F0;"| What you see
 
! style="background:#A0C0F0;"| Variables
 
|-
 
| Check for accuracy
 
| <nowiki>{{check}}</nowiki>
 
| {{check}}
 
| N/A
 
|-
 
| Review for completeness
 
| <nowiki>{{complete}}</nowiki>
 
| {{complete}}
 
| N/A
 
|-
 
| Expand article
 
| <nowiki>{{expand}}</nowiki>
 
| {{expand}}
 
| N/A
 
|-
 
| Tone of article is inappropriate
 
| <nowiki>{{inappropriate tone}}</nowiki>
 
| {{inappropriate tone}}
 
| N/A
 
|-
 
| Rename article
 
| <nowiki>{{rename|newname|reason}}</nowiki>
 
| {{rename}}
 
| '''rename''': your suggestion for the new name of the article
 
<br>'''reason''': why you think the article should be renamed
 
|}
 
 
 
[[Category:Maintenance]]
 

Revision as of 06:35, 27 December 2008