Changes - Warhammer 40k - Lexicanum

Changes

From Warhammer 40k - Lexicanum
Jump to: navigation, search

Template:Warning Message

1,245 bytes removed, 13:34, 15 May 2015
Swapped to Mbox
<onlyinclude><includeonly>{|class="nottemplate warning"{mbox|-|classtype ="icon"|[[Image:{{{Imagetype|ServiceImage.jpgcontent}}}|image = {{{ImageSizeimage|[[File:ServiceImage.jpg|5050px]]}}}px]]|classtext ="message"|{{{Message}}} {{{Edit|{{{Break|<br />}}}You can help Lexicanum by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} fixing it].</span>}}}|}</includeonly></onlyinclude> This template standardizes the shape of warning boxes. This should not be used for neutral messages, such as disambiguation or spoiler alerts, but just those messages that encourage the reader to fix the entry. The minimal syntax for this is <nowiki>{{Warning Message|Message=</nowiki>''*Write message here*''<nowiki>}}<noinclude>[[Category:Notification Templates|]]</noinclude></nowiki>which produces{|class="nottemplate warning"|-|classsmall ="icon"|[[Image:{{{Imagesmall|ServiceImage.jpg}}}|50x50px]]|class="message"|''*Write message here*''<br />You can help Lexicanum by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} fixing it].yes|}and puts the template in [[:Category:Notification Templates]]. smalltext == Optional parameters == This template also accepts the '''Image''' and '''Edit''' parameters:*'''Image''' defines An alternative text for the icon to show in the box, if it's not specified it defaults to [[:Image:ServiceImage.jpg]]small version.*'''Edit''' should be set to an empty string in case the "You can help Lexicanum by fixing it." message is not needed. To display the message, just don't use the Edit parameter. == Full syntax for copypasting == }}<nowikinoinclude>{{Warning Message|Message=|Image=|ImageSize=|Border=|Edit=|Break=documentation}}<includeonly>[[Category:]]</includeonlynoinclude><noincludeonlyinclude>[[Category:Notification Templates|Notification Templates]]</noinclude></nowiki>{{DEFAULTSORT:{{PAGENAME}}}}[[Category:Template-making Templates]]</onlyinclude>
4,095
edits