細
- link
細 (1版) |
bsd>Sarang 細 (- link) |
||
1行目: | 1行目: | ||
<div class="mw-content-{{dir|{{int:lang}}}}"> | <div class="mw-content-{{dir|{{int:lang}}}}"> | ||
{| cellspacing="0" style="color:#000;background:#DDD;border:1px solid #BBB;margin:.1em;width:{{{width|}}};{{{style|}}}" class="createdwithtemplate layouttemplate" | {| cellspacing="0" style="color:#000;background:#DDD;border:1px solid #BBB;margin:.1em;width:{{{width|}}};{{{style|}}}" class="createdwithtemplate layouttemplate" | ||
| style="width:1.2em;height:1.2em;padding:.2em;{{{style2|}}}" | {{#ifexist: File:{{{logo}}}| [[File:{{{logo}}}|{{#if: {{{iconsize|}}} | {{{iconsize}}} | 20px }} |link={{{link|File:{{{logo}}}}}}|center]]| {{{logo|}}} }} | | style="width:1.2em;height:1.2em;padding:.2em;{{{style2|}}}" | {{#if:{{{logo}}}|{{#ifeq:{{{logo}}}|-||{{#ifexist:File:{{{logo}}}<!-- | ||
| style="font-size:.85em;padding:.2em;vertical-align:middle;{{{style3|}}}" | -->|[[File:{{{logo}}}|{{#if:{{{iconsize|}}}|{{{iconsize}}}|20px}}|link={{{link|File:{{{logo}}}}}}|center]]|{{{logo|}}}}}}} }} | ||
-->{{{text|empty}}}<!-- | | style="font-size:.85em;padding:.2em;vertical-align:middle;{{{style3|}}}"<!-- | ||
-->|{{{text|empty}}}<!-- | |||
-->{{#if:{{{more|}}}|{{{more}}}}} | -->{{#if:{{{more|}}}|{{{more}}}}} | ||
|}</div><!-- | |}</div><!-- | ||
-->{{#ifeq: {{NAMESPACE}} | File | {{# | == Category == | ||
-->[[Category:{{# | -->{{#if:{{#ifeq:{{NAMESPACE}}|File||1}}<!-- no when not "FILE" | ||
-->{{{sub|}}}|{{#if:{{{err|}}}|{{#iferror:{{#ifexpr:{{{err|1}}}}}|2222|{{padleft:{{#expr:1000*{{#expr:1/{{{err|}}} round 3}}}}|4|0}}}}|{{#ifeq:{{{w3c}}}|I|3333}}}}{{#if:{{{key|}}}|{{{key}}} | -->{{#ifeq:{{{category|}}}|-|1}}|<!-- no when suppr "-" | ||
-->|{{#ifeq:{{padleft:|2|{{{category|}}}}}|[[|{{{category}}}<!-- as-it-is when "[[…" | |||
-->|{{#if:{{{category|}}}{{{toolcat|}}}<!-- either one is necessary | |||
-->|[[Category:{{#if:{{{category|}}}|{{{category}}}<!-- category: value without brackets | |||
-->|{{#switch:{{{w3c}}}<!-- (uncheckable SVG solved otherwise) - only some main templates | |||
-->|V=Valid SVG <!-- | |||
-->|I=Invalid SVG <!-- | |||
-->|s=Unspec SVG <!-- | |||
-->|N|n=PNG <!-- | |||
-->|S=SVG }}<!-- | |||
-->{{#switch:{{{w3c}}}|V|I|s|N|n|S= {{lcfirst:{{#if:{{{c_text|}}}|{{{c_text}}}|created with}} {{{toolcat}}}}}<!-- | |||
-->|{{ucfirst:{{#if:{{{c_text|}}}|{{{c_text}}}|created with}} {{{toolcat}}}}}}}}}<!-- | |||
== subcategory and sortkey == | |||
-->{{#if:{{{sub|}}}|{{#ifeq:{{{sub}}}|-||{{{sub}}}}}}}|{{#if:{{{err|}}}|{{#iferror:{{#ifexpr:{{{err|1}}}}}|2222<!-- | |||
-->|{{padleft:{{#expr:1000*{{#expr:1/{{{err|}}} round 3}}}}|4|0}}}}<!-- sort desc. | |||
-->|{{#ifeq:{{{w3c}}}|I|3333}}}}{{#if:{{{key|}}}|{{{key}}}}}{{PAGENAME}}]]<!-- | |||
error: toolcat missing | |||
-->|}}}}}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |