Template:Mbox: Difference between revisions
Jump to navigation
Jump to search
en>Davidgothberg This template has now been checked and tested, it works correctly in the new "Book:" and "Book talk:" namespaces. And a minor update to "{{pp-template}}". |
en>Happy-melon m 55 revisions from w:en:Template:Ambox: Useful |
||
| Line 1: | Line 1: | ||
{{ | <!--{{Ambox}} begin-->{{#switch:{{{small|}}} | ||
{{ | | left = | ||
| | {{Ambox/core | ||
| | | small = left | ||
| | | type = {{{type|}}} | ||
| | | image = {{#if:{{{smallimage|}}} | ||
| | | {{{smallimage}}} | ||
| | | {{{image|}}} | ||
}} | |||
| imageright = {{#if:{{{smallimageright|}}} | |||
| {{{smallimageright}}} | |||
| {{{imageright|}}} | |||
}} | |||
| style = {{{style|}}} | |||
| textstyle = {{{textstyle|}}} | |||
| text = {{#if:{{{smalltext|}}} | |||
| {{{smalltext}}} | |||
| {{{text}}} | |||
}} | |||
}} | }} | ||
| type = {{{type|}}} | | #default = | ||
| image = {{{image|}}} | {{Ambox/core | ||
| imageright = {{{imageright|}}} | | type = {{{type|}}} | ||
| style = {{{style|}}} | | image = {{{image|}}} | ||
| textstyle = {{{textstyle|}}} | | imageright = {{{imageright|}}} | ||
| text = {{{text}}} | | style = {{{style|}}} | ||
| textstyle = {{{textstyle|}}} | |||
| text = {{{text}}} | |||
| | }} | ||
| | }}<!-- | ||
}}<noinclude> | |||
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Article message boxes]]}}}}</includeonly><!-- | |||
--><!--{{Ambox}} end--><noinclude> | |||
{{pp-template}} | {{pp-template}} | ||
{{ | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 16:17, 19 March 2010
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation
[create]