UserDefaultPage – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Remove usertalk links) |
Lou Montana (talk | contribs) (Add CSS/JS/Talk (conditional) links) |
||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable plainlinks align-center" style="box-shadow: 0 0 0.5em rgba(0,0,0,0.1); line-height: 1.5em; min-width: 40em" | <includeonly>{| class="wikitable plainlinks align-center" style="box-shadow: 0 0 0.5em rgba(0,0,0,0.1); line-height: 1.5em; min-width: 40em" | ||
| colspan="2" | '''{{{1|{{PAGENAME}}}}}'''<br><small>is my username</small> | | colspan="2" style="position: relative" | <div style="font-size: .8em; line-height: 1.25em; position: absolute; top: 0; right: 0.5em"> | ||
[[User:{{{1|{{PAGENAME}}}}}/common.css|CSS]] | |||
{{#ifexist:User talk:{{{1|{{PAGENAME}}}}}/common.js|• [[User:{{{1|{{PAGENAME}}}}}/common.js|JS]]}} | |||
{{#ifexist:User talk:{{{1|{{PAGENAME}}}}}|• [[User talk:{{{1|{{PAGENAME}}}}}|Talk]]}} | |||
</div> | |||
'''{{{1|{{PAGENAME}}}}}'''<br><small>is my username</small> | |||
|- | |- | ||
| style="width: 50%" | [[User:{{{1|{{PAGENAME}}}}}/Sandbox|<div>'''My Sandbox'''<br><small>User:{{{1|{{PAGENAME}}}}}/Sandbox</small></div>]] | | style="width: 50%" | [[User:{{{1|{{PAGENAME}}}}}/Sandbox|<div>'''My Sandbox'''<br><small>User:{{{1|{{PAGENAME}}}}}/Sandbox</small></div>]] | ||
| [[Special:Contributions/{{{1|{{PAGENAME}}}}}|<div>'''My Contributions'''<br><small>Special:Contributions/{{{1|{{PAGENAME}}}}}</small></div>]] | | style="width: 50%" | [[Special:Contributions/{{{1|{{PAGENAME}}}}}|<div>'''My Contributions'''<br><small>Special:Contributions/{{{1|{{PAGENAME}}}}}</small></div>]] | ||
|}</includeonly><noinclude>{{Doc/Template | |}</includeonly><noinclude>{{Doc/Template | ||
|descr= Adds the default userpage content. | |descr= Adds the default userpage content. | ||
|param1= username | |param1= username | ||
|descr1= (Optional) username, default {{<nowiki/>PAGENAME}} (username on a User:* page) | |descr1= (Optional) username, default {{<nowiki/>PAGENAME}} (username on a User:* page) | ||
|example1= <nowiki>{{UserDefaultPage}}</nowiki> | |example1= <nowiki>{{UserDefaultPage}}</nowiki> |
Revision as of 21:06, 5 February 2024
Adds the default userpage content.
This template is used on these pages.
Usage
{{UserDefaultPage|username}}
- username: (Optional) username, default {{PAGENAME}} (username on a User:* page)
Code | Result | ||||
---|---|---|---|---|---|
{{UserDefaultPage}} |
| ||||
{{UserDefaultPage|Maruk}} |
|