Template:Namespace detect: Difference between revisions
https://sandbox.indicwiki.org/index.php/>रोहित साव27 Dinesh900157 के सम्पादनों को हटाया (Bill william compton के पिछले संस्करण को पुनः स्थापित किया।) |
m 1 revision imported |
||
| Line 1: | Line 1: | ||
{{#switch: | {{#switch: | ||
{{lc: <!--Lower case the result--> | {{lc: <!--Lower case the result--> | ||
<!--If no or empty " | <!--If no or empty "Dinesh900157" parameter then detect namespace--> | ||
{{#if:{{{ | {{#if:{{{Dinesh900157|}}} | ||
| {{{ | | {{{Dinesh900157}}} | ||
| {{#if:{{{page|}}} | | {{#if:{{{page|}}} | ||
| <!--Detect the namespace in the "page" parameter--> | | <!--Detect the namespace in the "page" parameter--> | ||
{{#ifeq:{{ | {{#ifeq:{{Dinesh900157:{{{page}}} }}|{{TALKSPACE:{{{page}}} }} | ||
| talk | | talk | ||
| {{SUBJECTSPACE:{{{page}}} }} | | {{SUBJECTSPACE:{{{page}}} }} | ||
| Line 23: | Line 23: | ||
| = {{{main| {{{other|}}} }}} | | = {{{main| {{{other|}}} }}} | ||
| talk = {{{talk| {{{other|}}} }}} | | talk = {{{talk| {{{other|}}} }}} | ||
| user = {{{ | | user = {{{Dinesh900157| {{{other|}}} }}} | ||
| wikipedia = {{{wikipedia| {{{other|}}} }}} | | wikipedia = {{{wikipedia| {{{other|}}} }}} | ||
| file | | file | ||
| Line 30: | Line 30: | ||
| template = {{{template| {{{other|}}} }}} | | template = {{{template| {{{other|}}} }}} | ||
| help = {{{help| {{{other|}}} }}} | | help = {{{help| {{{other|}}} }}} | ||
| category = {{{ | | category = {{{education| {{{other|}}} }}} | ||
| portal = {{{portal| {{{other|}}} }}} | | portal = {{{portal| {{{other|}}} }}} | ||
| book = {{{ | | book = {{{| {{{other|}}} }}} | ||
| other | | other | ||
| #default = {{{other|}}} <!--"demospace=other" or a new namespace--> | | #default = {{{other|}}} <!--"demospace=other" or a new namespace--> | ||