Difference between revisions of "Template:BS-o"
Jump to navigation
Jump to search
imported>Tuvalkin (upd. from :commons) |
imported>Tuvalkin (no line breaks) |
||
| Line 1: | Line 1: | ||
| − | <span style="position:relative;left:10px;">[[File:BSicon_{{{2}}}.svg|x20px]]</span><span style="position:relative;left:-11px;">[[File:BSicon_{{{1}}}.svg|x20px|border]]</span>{{#if:{{{txt|}}}|([[:File:BSicon_{{{1}}}.svg|<code style="color:blue; font-weight:bold;">{{{1}}}</code>]] ※ [[:File:BSicon_{{{2}}}.svg|<code style="color:blue; font-weight:bold;">{{{2}}}</code>]])|}}<noinclude> | + | <span style="white-space:nowrap;"><span style="position:relative;left:10px;">[[File:BSicon_{{{2}}}.svg|x20px]]</span><span style="position:relative;left:-11px;">[[File:BSicon_{{{1}}}.svg|x20px|border]]</span></span>{{#if:{{{txt|}}}|([[:File:BSicon_{{{1}}}.svg|<code style="color:blue; font-weight:bold;">{{{1}}}</code>]] ※ [[:File:BSicon_{{{2}}}.svg|<code style="color:blue; font-weight:bold;">{{{2}}}</code>]])|}}<noinclude> |
{{doc}} | {{doc}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 09:30, 29 May 2012
[[File:BSicon_{{{2}}}.svg|x20px]][[File:BSicon_{{{1}}}.svg|x20px|border]]
Much like {{BS-q}}, this accepts two BSicon names and displays an inline bordered swatch with them both superimposed, followed by their names spelled out, separed with the "※" sign (which is clearer for this than "+", as this is used in icon names).
(Futurely if-clauses could be added for more icons to be stacked, icon size and other options.)
Usage:
- "
{{BS-o|uKRZ|KRX}}" yields "
". - "
{{BS-o|uKRZ|KRX|txt=foo}}" yields "
(uKRZ※KRX)". - "
{{BS-o|uKRZ|KRX|txt=}}" yields "
". - "
{{BS-o|uKRZ|KRX|txt}}" yields "
".
| The above documentation is transcluded from Template:BS-o/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |