Difference between pages "Dependencies List" and "Template:Cmbox"

From SC4D Encyclopaedia
(Difference between pages)
Jump to navigation Jump to search
sc4e>JoeST
m (added unofficial list)
 
sc4e>Freedo50
(New page: <table class="plainlinks cmbox {{#switch:{{{type|}}} | speedy = cmbox-speedy | delete = cmbox-delete | content = cmbox-content | style = cmbox-style | move = cmbox-m...)
 
Line 1: Line 1:
The '''Dependencies List''' is a list created by [[People:Diggis|Diggis]] that enlists every Dependency Pack availible, and thus allows you to easily find the [[dependency|dependencie]]s a lot requires. Both a .pdf and a .html version are availible. The list was last updated in May 2008, and thus may be a little outdated.
+
<table class="plainlinks cmbox
 +
{{#switch:{{{type|}}}
 +
| speedy    = cmbox-speedy
 +
| delete    = cmbox-delete
 +
| content    = cmbox-content
 +
| style      = cmbox-style
 +
| move      = cmbox-move
 +
| protection = cmbox-protection
 +
| notice          <!-- notice = default -->
 +
| #default  = cmbox-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}}}
 +
  | {{#switch:{{{type|}}}
 +
    | speedy    = [[Image:Wiki_warning.png|40x40px]]
 +
    | delete    = [[Image:Wiki_warning.png|40x40px]]  
 +
    | content    = [[Image:Wiki_warning_amber.png|40x40px]]
 +
    | style      = [[Image:Wiki_clean.png|40x40px]]
 +
    | move      = [[Image:Wiki_move.png|40x40px]]
 +
    | protection = [[Image:Padlock.png|40x40px]]
 +
    | notice          <!-- notice = default -->
 +
    | #default  = [[Image:Imbox_notice.png|40x40px]]
 +
    }}
 +
  }}</td>
 +
}}
 +
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
 +
{{#if:{{{imageright|}}}
 +
| <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>{{pp-template}}
  
The current dependency list can be found [http://www.sc4devotion.com/dependencies.html here].
+
This template is used for message boxes on category pages, it will be automatically transcluded by {{[[Template:Mbox|Mbox]]}}.
  
A similar but unofficial list is being developed via the Plugin: [[Help:Namespace|namespace]] on the wiki.
+
==Example==
  
{{stub}}
+
{{cmbox}}
 +
</noinclude>

Revision as of 08:04, 27 December 2008

This template is used for message boxes on category pages, it will be automatically transcluded by {{Mbox}}.

Example