«Կաղապար:Namespace detect»–ի խմբագրումների տարբերություն
Jump to navigation
Jump to search
Content deleted Content added
Նոր էջ. {{#switch: {{lc: <!--Lower case the result--> <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{{demospace}}} ... |
Փոխվում է էջը '{{ուշադրություն|տեքստ=Չաշխատող կաղապար է, ենթակա է ջնջման}}'-ով |
||
| Տող 1. | Տող 1. | ||
{{ուշադրություն|տեքստ=Չաշխատող կաղապար է, ենթակա է ջնջման}} |
|||
{{#switch: |
|||
{{lc: <!--Lower case the result--> |
|||
<!--If no or empty "demospace" parameter then detect namespace--> |
|||
{{#if:{{{demospace|}}} |
|||
| {{{demospace}}} |
|||
| {{#ifeq:{{NAMESPACE}}|{{ns:0}} |
|||
| main |
|||
| {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} |
|||
| talk |
|||
| {{NAMESPACE}} |
|||
}} |
|||
}} |
|||
}} |
|||
}} |
|||
<!-- Only one of the lines below will be executed --> |
|||
<!-- Respecting empty parameters on purpose --> |
|||
| main = {{{հիմնական| {{{ուրիշ|}}} }}} |
|||
| talk = {{{քննարկում| {{{ուրիշ|}}} }}} |
|||
| user = {{{user| {{{ուրիշ|}}} }}} |
|||
| wikipedia = {{{wikipedia| {{{ուրիշ|}}} }}} |
|||
| file |
|||
| image = {{{ֆայլ| {{{image| {{{ուրիշ|}}} }}} }}} |
|||
| mediawiki = {{{mediawiki| {{{ուրիշ|}}} }}} |
|||
| template = {{{template| {{{ուրիշ|}}} }}} |
|||
| help = {{{help| {{{ուրիշ|}}} }}} |
|||
| կատեգորիա = {{{կատեգորիա| {{{ուրիշ|}}} }}} |
|||
| պորտալ = {{{պորտալ| {{{ուրիշ|}}} }}} |
|||
| ուրիշ |
|||
| #default = {{{ուրիշ|}}} <!--"demospace=other" or a new namespace--> |
|||
}}<!--End switch--><noinclude> |
|||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|||
</noinclude> |
|||
Ընթացիկ տարբերակը 23:08, 24 հոկտեմբերի 2012-ի դրությամբ