Jump to content

Template:Uir/adoc: Difference between revisions

no edit summary
(New Create Template)
 
No edit summary
Line 295: Line 295:


===Restriction===
===Restriction===
This template should be placed on your [[Wikipedia:user page|user page]].  This template will only declare user categories from the [[user namespace]].
This template should be placed on your [[Bharatpedia:user page|user page]].  This template will only declare user categories from the [[user namespace]].
{{clear}}
{{clear}}


===Example===
===Example===
Placing the following [[Wiki markup]] on your [[Wikipedia:user page|user page]]:
Placing the following [[Wiki markup]] on your [[Bharatpedia:user page|user page]]:
:'''<code><nowiki>{{</nowiki>{{#if:{{{tem|}}}|{{{tem|}}}|User in {{#if:{{{the|}}}|the&#32;}}{{{simple|{{{region|}}}}}}}}<nowiki>}}</nowiki></code>'''
:'''<code><nowiki>{{</nowiki>{{#if:{{{tem|}}}|{{{tem|}}}|User in {{#if:{{{the|}}}|the&#32;}}{{{simple|{{{region|}}}}}}}}<nowiki>}}</nowiki></code>'''
creates the following [[Wikipedia:Userboxes|userbox]]:
creates the following [[Bharatpedia:Userboxes|userbox]]:
{{{{#if:{{{tem|}}}|{{{tem|}}}|User in {{#if:{{{the|}}}|the&#32;}}{{{simple|{{{region|}}}}}}}}|nocat=true}}
{{{{#if:{{{tem|}}}|{{{tem|}}}|User in {{#if:{{{the|}}}|the&#32;}}{{{simple|{{{region|}}}}}}}}|nocat=true}}
{{clear}}
{{clear}}