Difference between revisions of "Template:Pp-meta"
From Game Detectives Wiki
| [unchecked revision] | [unchecked revision] |
(All worked in last version. Adding a "demospace" function.) |
(Last one worked well. Testing smalltext again. Have an idea...) |
||
| Line 1: | Line 1: | ||
| − | {{# | + | {{#if:{{{smalltext|}}} |
| − | | | + | | {{{smalltext}}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | + | | <!--No smalltext--> |
| − | + | {{#switch:{{{demospace|X{{NAMESPACE}}}}} | |
| − | + | | Main | |
| − | + | | X = <!--Main (article) space--> | |
| − | + | <table class="ambox ambox-protection"> | |
| − | + | <tr> | |
| − | + | <td class="ambox-image">{{{image}}} | |
| − | + | <td>{{{text}}} | |
| − | + | </table> | |
| − | |||
| − | |||
| − | |||
| − | + | | Talk | |
| − | + | | XTalk | |
| − | + | | XUser talk | |
| − | + | | XImage talk | |
| − | + | | XTemplate talk | |
| − | + | | xHelp talk | |
| + | | XCategory talk = <!--Any talk space--> | ||
| + | <table class="messagebox standard-talk"> | ||
| + | <tr> | ||
| + | <td>{{{image}}} | ||
| + | <td>{{{text}}} | ||
| + | </table> | ||
| − | }}<noinclude> | + | | #default = <!--Other space--> |
| + | <table class="messagebox protected" style="border:2px solid #99B; padding:0px; font-size:0.9em;"> | ||
| + | <tr> | ||
| + | <td>{{{image}}} | ||
| + | <td>{{{text}}} | ||
| + | </table> | ||
| + | |||
| + | }}<!--End switch--> | ||
| + | }}<!--End if smalltext--><noinclude> | ||
{{template doc}} | {{template doc}} | ||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||