Difference between pages "Template:Ombox/core" and "Template:Tutorial"

From SC4D Encyclopaedia
< Template:Ombox(Difference between pages)
Jump to navigation Jump to search
sc4e>Freedo50
 
sc4e>Warrior
m (No need for Tutorial category as tutorials have a NS and can be dpled)
 
Line 1: Line 1:
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|ombox-small}}
+
{{request
{{#switch:{{{type|}}}
+
| type = info
| speedy    = ombox-speedy
+
| image =  
| delete    = ombox-delete
+
| headline = This article is a tutorial.
| content    = ombox-content
+
| text = It was originally written by [[People:{{{author}}}|{{{author}}}]], and retrieved from [[{{{site}}}]].
| 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    = Wiki_warning.png
 
    | delete    = Wiki_warning.png
 
    | content    = Wiki_warning_amber.png
 
    | style      = Wiki_clean.png
 
    | move      = Wiki_move.png
 
    | protection = Padlock.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:Message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
 
}}<noinclude>
 
 
{{pp-template}}
 
 
</noinclude>
 

Revision as of 11:40, 7 October 2008