UserDefaultPage – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add CSS/JS/Talk (conditional) links)
m (Fix attempt)
 
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" style="position: relative" | <div style="font-size: .8em; line-height: 1.25em; position: absolute; top: 0; right: 0.5em">
| 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]]
[[User:{{{1|{{PAGENAME}}}}}/common.css|CSS]]<!--
{{#ifexist:User talk:{{{1|{{PAGENAME}}}}}/common.js|&bull; [[User:{{{1|{{PAGENAME}}}}}/common.js|JS]]}}
-->{{#ifexist:User talk:{{{1|{{PAGENAME}}}}}/common.js|<nowiki/> &bull; [[User:{{{1|{{PAGENAME}}}}}/common.js|JS]]}}<!--
{{#ifexist:User talk:{{{1|{{PAGENAME}}}}}|&bull; [[User talk:{{{1|{{PAGENAME}}}}}|Talk]]}}
-->{{#ifexist:User talk:{{{1|{{PAGENAME}}}}}|<nowiki/> &bull; [[User talk:{{{1|{{PAGENAME}}}}}|Talk]]}}
</div>
</div>
'''{{{1|{{PAGENAME}}}}}'''<br><small>is my username</small>
'''{{{1|{{PAGENAME}}}}}'''<br><small>is my username</small>

Latest revision as of 22:10, 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)
Examples
Code Result
{{UserDefaultPage}}
{{UserDefaultPage|Maruk}}