« Modèle:Note/doc » : différence entre les versions

De wiki-spl
Aller à la navigation Aller à la recherche
test0>Shirayuki
m (Reverted edits by 2404:130:0:1000:F8A4:6A46:9982:A0DB (talk) to last revision by Shirayuki)
(Replaced content with "{{Documentation subpage}} Ban")
Ligne 1 : Ligne 1 :
{{Documentation subpage}}
{{Documentation subpage}}
== Usage ==
Ban
<pre>
{{note|Foo}}
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{tip|Foo}}
{{note}} Loose test
{{tip}} Loose test
</pre>
{{note|Foo}}
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{tip|Foo}}
{{note}} Loose test
 
{{tip}} Loose test
<includeonly>
<!-- Categories go here, and interwikis go here -->
{{languages}}
</includeonly>

Version du 26 juin 2015 à 05:21

{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:modèle:note/doc|-1|-2}}|doc|1|0}} and {{#if:{{#invoke:Template translation|getLanguageSubpage}}|1|0}} ) )|1|}}

    | 

{{#ifeq:show |show

         | Modèle:Mbox
        }}{{#if: |
         |   {{#ifexist:Modèle:Note
                  | [[Category:{{#switch:Modèle
                          | Template | Project = Template
                          | Module   = Module
                          | User     = User
                          | #default = MediaWiki
                      }} documentation pages{{#translation:}}]]
                  | [[Category:Documentation subpages without corresponding pages{{#translation:}}]]
                 }}
        }}
    | 
   }}

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation subpage|noshift=1|uselang=⧼lang⧽}}

}} Ban