Template:Mbox

From wiki.jriver.com
Jump to navigation Jump to search

{{#ifeq:|yes

|

{{#ifeq:{{#if:| {{{smallimage}}} | }}|none|

|
 {{#if:{{#if:| {{{smallimage}}} |  }}
 | {{#if:| {{{smallimage}}} |  }}
 | [[Image:{{#switch:
   | delete     = Ambox warning pn.svg
   | content    = Ambox important.svg
   | style      = Edit-clear.svg
   | notice
   | #default   = Tango-style info icon.svg
   }} | {{#ifeq:yes|yes
   | 30x30px
   | 40x40px
   }}|link=|alt=]]
}}

}}

{{#if:| {{{smalltext}}} | {{{text}}} }}

{{#if:{{#if: | {{{smallimageright}}} | }}

|
{{#if: | {{{smallimageright}}} | }}

}}

|

{{#ifeq:|none|

|
 {{#if:
 | 
 | [[Image:{{#switch:
   | delete     = Ambox warning pn.svg
   | content    = Ambox important.svg
   | style      = Edit-clear.svg
   | notice
   | #default   = Tango-style info icon.svg
   }} | {{#ifeq:|yes
   | 30x30px
   | 40x40px
   }}|link=|alt=]]
}}

}}

{{{text}}}

{{#if:

|

}}

}}

Template documentation (for the above template, sometimes hidden or invisible)[Edit] [Refresh]
{{
   #if: 
   | 

{{{content}}}

   | {{
     #ifexist: {{ #if:  | {{{1}}} | Template:Mbox/doc }}
|
{{{{
       #ifeq: Template | Template
       || ::
     }}{{ #if:  |  | Mbox/doc}} }}
     | :This template doesn't have any documentation yet! Help out by [{{fullurl:{{ #if:  | %7B%7B%7B1%7D%7D%7D | Template:Mbox/doc }}|action=edit&preload=Template:Documentation/preload}} writing some]. {{
       #ifeq: Template | Template
       | There may also be documentation on [[w:c:templates:{{ #if:  | {{{1}}} | Template:Mbox/doc }}|Wikia Templates]] which can be copied.
     }}
   }}
 }}
{{
   #if: 
   | Edit this page
   | Visit {{
     #ifexist: {{ #if:  | {{{1}}} | Template:Mbox/doc }}
     | [[{{ #if:  | {{{1}}} | Template:Mbox/doc }}]]
     | [{{fullurl:{{ #if:  | %7B%7B%7B1%7D%7D%7D | Template:Mbox/doc }}|action=edit&preload=Template:Documentation/preload}} {{ #if:  | {{{1}}} | Template:Mbox/doc }}]
   }}
}} to change this text! (How does this work?)
Done making changes? Refresh this text! (Why?)