Template:User Moscow: Difference between revisions
Appearance
Content deleted Content added
new userbox template |
tweak text size for readability |
||
(15 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{picture}}}|no|{{userbox |
|||
<div style="float: left; border: solid navy 1px; margin: 1px;"> |
|||
| border-c = navy |
|||
{| cellspacing="0" style="width: 238px; color: black; background: white;" |
|||
| |
| id = [[File:Coat of Arms of Moscow.svg|30px]] |
||
| id-c = lightblue |
|||
| style="font-size: 8pt; color: navy; padding: 4pt; line-height: 1.25em;" | This user lives in '''[[Moscow]]'''. |
|||
| info = This user lives in '''[[Moscow]]'''. |
|||
{{#ifeq:{{{picture}}}|no||{{!}} style="width: 45px; height: 45px; background: lightblue; text-align: center; font-size: 14pt;" {{!}}{{{picture|[[Image:Moscow Kremlin from Kamenny bridge.jpg{{!}}75px]]}}}}} |
|||
| info-c = white |
|||
|}</div><includeonly>{{#ifeq:{{{categories}}}|no||[[Category:Wikipedians in Moscow|{{PAGENAME}}]][[Category:Wikipedians in Russia|{{PAGENAME}}]]}}</includeonly><noinclude> |
|||
| info-fc = navy |
|||
[[Category:Place of residence user templates|Moscow]] |
|||
| usercategory = Wikipedians in Moscow |
|||
| usercategory2 = Wikipedians in Russia |
|||
[[Category:Category suppression supporting templates|User Moscow]] |
|||
| nocat = {{{nocat|}}} |
|||
}}|{{User Russian city|Moscow|image2=Moscow Kremlin from Kamenny bridge.jpg|verb={{{1|lives in}}} |
|||
| nocat = {{{nocat|}}} |
|||
| border-c = {{{border-c|navy}}} |
|||
| border-s = {{{border-s|1}}} |
|||
| id1 = {{{id1|[[File:Coat of Arms of Moscow.svg|45px]]}}} |
|||
| id2 = {{{id2|{{{picture|[[File:Moscow Kremlin from Kamenny bridge.jpg|72px]]}}}}}} |
|||
| id1-c = {{{id1-c|lightblue}}} |
|||
| id2-c = {{{id2-c|lightblue}}} |
|||
| info-c = {{{info-c|white}}} |
|||
| info-fc = {{{info-fc|navy}}} |
|||
| info-s = {{{info-s|9}}} |
|||
| info-a = {{{info-a|left}}} |
|||
}} |
|||
}}</includeonly><noinclude> |
|||
{{Documentation}} |
|||
<!-- Add categories to the /doc subpage, not here! --> |
|||
</noinclude> |
</noinclude> |
Latest revision as of 18:45, 15 July 2019
This user lives in Moscow. |
{{{id1}}} | This user {{{1}}} Moscow. | {{{id2}}} |
This userbox will automatically add your userpage to following categories:
You can disable automatic categorization using |nocat=true
.
Usage
[edit]{{User Moscow|picture=no}}
- without the image to the right{{User Moscow|picture=[[File:Example.jpg{{!}}??px]]}}
- custom image
This userbox can be configured by using any combination of the following optional parameters.
default | {{User Moscow}}
|
| |||
with custom verbs | {{User Moscow|comes from}}
|
| |||
{{User Moscow|is interested in}}
|
| ||||
with custom left box | {{User Moscow|id1=[[File:Flag of Moscow, Russia.svg|x45px]]}}
|
| |||
with custom right box | {{User Moscow|id2=[[File:Moscow Business Center 5073-84.jpg|x45px]]}}
|
| |||
with custom text color | {{User Moscow|info-fc=blue}}
|
| |||
with custom mainbox background color | {{User Moscow|info-c=lightblue}}
|
| |||
with custom text size | {{User Moscow|info-s=11}}
|
| |||
with custom border color | {{User Moscow|border-c=green}}
|
| |||
with custom border width (in pixels) | {{User Moscow|border-s=3}}
|
| |||
with custom bg color of left image | {{User Moscow|id1-c=blue}}
|
| |||
with custom bg color of right image | {{User Moscow|id2-c=magenta}}
|
| |||
with custom text alignment (left, right, or center) | {{User Moscow|info-a=right}}
|
| |||
without categorization | {{User Moscow|nocat=yes}}
|