Template:Resource badge: Difference between revisions
(Redirected page to Template:Userbox) |
m (Text replacement - "category:template" to "Category:Templates") |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
# | {{#switch: {{{layout|horizontal}}} | ||
| horizontal =<div style="position: relative; z-index:100; float:{{{float-h|{{{float|right}}}}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; ;" > | |||
<table cellspacing="0" style="width:{{{width-h|300}}}px; margin-bottom: 0px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};" ><tr> | |||
{{#if:{{{logo|{{{3|{{{id|id}}}}}}}}}| | |||
<th style="width:{{{logo-width|{{{id-w|45}}}}}}px; height:{{{logo-height|{{{id-h|45}}}}}}px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}}; padding:{{{logo-padding|{{{id-p|1px}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1em}}}}}}; vertical-align: middle; {{{logo-other-param|{{{id-op|}}}}}}" > {{{logo|{{{3|{{{id|id}}}}}}}}}</th> | |||
}} | |||
<td style="text-align:left; font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:{{{info-padding|{{{info-p|2px}}}}}}; height:{{{logo-height|{{{id-h|45}}}}}}px; line-height:{{{info-line-height|{{{info-lh|1.25em}}}}}}; color:{{{info-color|{{{info-fc|black}}}}}}; vertical-align: middle; {{{info-other-param|{{{info-op|}}}}}}" >{{{info|{{{4|{{{info|''info''}}}}}}}}}</td></tr></table></div> | |||
| vertical = <div style="position: relative; z-index:100; float:{{{float-v|{{{float|left}}}}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; ;" > | |||
<table cellspacing="0" style="width:{{{width-v|146}}}px; margin-bottom: 0px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};" ><tr> | |||
<td style="text-align:left; font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:{{{info-padding|{{{info-p|2px}}}}}}; height:{{{logo-height|{{{id-h|45}}}}}}px; line-height:{{{info-line-height|{{{info-lh|1.25em}}}}}}; color:{{{info-color|{{{info-fc|black}}}}}}; vertical-align: middle; {{{info-other-param|{{{info-op|}}}}}}" >{{{info|{{{4|{{{info|''info''}}}}}}}}}</td></tr></table></div> | |||
}} | |||
{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}}|{{cat handler | |||
|nocat = {{{nocat|}}} | |||
|user = {{#if:{{{category|}}}|[[Category:{{{category}}}|{{PAGENAME}}]]}}{{#if:{{{category2|}}}|[[Category:{{{category2}}}|{{PAGENAME}}]]}}{{#if:{{{category3|}}}|[[Category:{{{category3}}}|{{PAGENAME}}]]}} | |||
|template = {{#if:{{{category|}}}|[[Category:{{{category}}}| {{BASEPAGENAME}}]]}}{{#if:{{{category2|}}}|[[Category:{{{category2}}}| {{BASEPAGENAME}}]]}}{{#if:{{{category3|}}}|[[Category:{{{category3}}}| {{BASEPAGENAME}}]]}} | |||
}}}}<noinclude> | |||
{{documentation}}[[Category:Templates]] | |||
</noinclude> |
Latest revision as of 16:39, 19 July 2019
id | info |
---|
The above documentation is transcluded from Template:Resource badge/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |