Template:Navbar/doc

From Podcrash Wiki
Jump to navigation Jump to search

{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}

    | 

{{#ifeq:show |show

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

| #default=

 {{#switch:

| = {{#if:{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}

    | 

{{#ifeq:show |show

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

| #default=

 Lua error: expandTemplate: template loop detected.

}} }} {{#switch:<translate></translate> |=

{{#if:{{safesubst:#switch: 1
|no
|n
|false
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|1        = yes
|#default = yes

}}|{{#ifexpr:{{#if:Navbar/doc|{{#ifeq:Template:Navbar/doc|{{#switch:

|#default = Navbar/doc 
| = 
   {{#ifeq:  | 
     | Template:Navbar/doc            
     | Navbar/doc      
   }}

}}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|{{#if:1||{{#if:|{{{text}}}|<translate> This box:</translate>}} }}{{#if:1|[}}[[{{#switch:

|#default = Navbar/doc 
| = 
   {{#ifeq:  | 
     | Template:Navbar/doc            
     | Navbar/doc      
   }}

}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:

|#default = Navbar/doc 
| = 
   {{#ifeq:  | 
     | Template:Navbar/doc            
     | Navbar/doc      
   }}

}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||<translate> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}}

Navbar

{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (

{{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=

 {{#switch:

|=

{{#if:{{safesubst:#switch: 1
|no
|n
|false
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|1        = yes
|#default = yes

}}|{{#ifexpr:{{#if:Navbar/doc|{{#ifeq:Template:Navbar/doc|{{#switch:

|#default = Navbar/doc 
| = 
   {{#ifeq:  | 
     | Template:Navbar/doc            
     | Navbar/doc      
   }}

}}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|{{#if:1||{{#if:|{{{text}}}|<translate> This box:</translate>}} }}{{#if:1|[}}[[{{#switch:

|#default = Navbar/doc 
| = 
   {{#ifeq:  | 
     | Template:Navbar/doc            
     | Navbar/doc      
   }}

}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:

|#default = Navbar/doc 
| = 
   {{#ifeq:  | 
     | Template:Navbar/doc            
     | Navbar/doc      
   }}

}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||This is the TemplateData documentation for this template used by VisualEditor and other tools.}}

Navbar

{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (

{{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=

 Lua error: expandTemplate: template loop detected.

}} }} <templatedata> { "description": { "en": "Adds edit links to navboxes and other templates", "cs": "Přidá odkazy na úpravy do navboxů a dalších šablon", "tr": "Gezinti kutularına ve diğer şablonlara düzenleme bağlantıları ekler", "fr": "Ajoute des liens de modification aux boîtes de navigation et aux autres modèles" }, "format": "inline", "params": { "1": { "label": { "en": "Template name", "cs": "Název šablony", "tr": "Şablon adı", "fr": "Nom du modèle" }, "description": { "en": "The template for which to create navbar links", "cs": "Šablona, pro kterou se mají vytvářet odkazy na navigační liště", "tr": "Gezinti çubuğu bağlantılarının oluşturulacağı şablon", "fr": "Modèle pour lequel les liens de la barre de navigation seront créés." }, "autovalue": "{{subst:PAGENAME}}", "required": true, "type": "wiki-template-name" }, "text": { "label": { "en": "Text", "cs": "Text", "tr": "Metin", "fr": "Texte" }, "description": { "en": "Custom leading text", "cs": "Vlastní úvodní text", "tr": "Özel satır aralığı metni", "fr": "Texte principal personnalisé." }, "default": { "en": "This box:", "cs": "Box:", "tr": "Bu kutu:" }, "type": "line" }, "mini": { "label": { "en": "Mini?", "cs": "Mini?", "tr": "Mini mi?", "fr": "Minimal" }, "description": { "en": "Only emit “v · d · e”", "cs": "Omezené zobrazení “v · d · e”", "tr": "Yalnızca “g · t · d” yayınlar", "fr": "Affichage restreint “v · d · e”" }, "type": "boolean" }, "plain": { "label": { "en": "Plain?", "cs": "Jasné?", "tr": "Düz mü?", "fr": "Brut" }, "description": { "en": "Omit leading text", "cs": "Vynechat úvodní text", "tr": "Baştaki metni çıkar", "fr": "Affichage sans texte principal." }, "default": "{{{mini}}}", "type": "boolean" }, "brackets": { "label": { "en": "Brackets?", "cs": "Závorky?", "tr": "Parantezler mi?", "fr": "Crochets" }, "description": { "en": "Surround links with brackets", "cs": "Ohraničení článků závorkami [ ]", "tr": "Parantezli çevre bağlantıları", "fr": "Les liens seront entre crochets [ ]" }, "type": "boolean" }, "noedit": { "label": { "en": "No Edit", "cs": "Neupravovat", "tr": "Düzenleme Yok", "fr": "Sans édition" }, "description": { "en": "Omit the “Edit” link", "cs": "Vynechat odkaz “Upravit”", "tr": "“Düzenle” bağlantısını atlayın", "fr": "Le lien pour modifier n'est pas affiché." }, "type": "boolean" }, "style": { "label": { "en": "Style", "cs": "Styl", "tr": "Stil", "fr": "Style" }, "description": { "en": "The CSS style attribute", "cs": "Atribut stylu CSS", "tr": "CSS stil özelliği", "fr": "Attribut du style CSS." }, "type": "string" }, "fontstyle": { "label": { "en": "Font Style", "cs": "Styl fontu", "tr": "Yazı Tipi Stili", "fr": "Style de fonte" }, "description": { "en": "The CSS style attribute for text", "cs": "Atribut stylu CSS pro text", "tr": "Metin için CSS stil niteliği", "fr": "Attribut CSS de style pour le texte." }, "type": "string" } } } </templatedata>