Difference between revisions of "Template:Ombox/core/doc"

From M3P
Jump to navigation Jump to search
(Created page with '{{documentation subpage}} {{high-use| 80,000+ }} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|ombox/core}} sub-template. Do not us…')
 
m (Protected "Template:Ombox/core/doc" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{high-use| 80,000+ }}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
   
   

Latest revision as of 07:33, 13 January 2011

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | {{
 {{#switch:
 {{#if: 
   | 
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | book = ombox | other | #default = ombox

}} | type = notice | image = | imageright = | style = margin-bottom:1.0em; | textstyle = | text = This is a documentation subpage for Template:Ombox/core.
It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}. | small = | smallimage = | smallimageright = | smalltext = }}

        }}{{#if: |
         |   {{#ifexist:Template:Ombox/core
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

This is the {{ombox/core}} sub-template.

Do not use this template directly, use {{ombox}} instead.

This template is called from {{ombox}}. It holds most of the code for {{{{#if:ombox|ombox| tlf|...}}{{#ifeq:x|| |{{{2}}} | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}, while {{{{#if:ombox|ombox| tlf|...}}{{#ifeq:x|| |{{{2}}} | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}} does parameter preprocessing. Thus simplifying the code in {{{{#if:ombox/core|ombox/core| tlf|...}}{{#ifeq:x|| |{{{2}}} | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}.

For more documentation see {{ombox}}.