「テンプレート:Self」の版間の差分

Don't use single cell tables
(1版)
 
bsd>Perhelion
(Don't use single cell tables)
1行目: 1行目:
<noinclude>{{Heavily used template}}
<noinclude>{{Heavily used template}}
</noinclude>{| cellspacing="8" cellpadding="0" style="clear:both; margin:0.5em auto; background-color:#f0f0f0; border:2px solid #e0e0e0; direction: {{Dir|{{int:lang}}}}; " class="licensetpl_wrapper"
</noinclude><div style="clear:both; margin:0.5em auto; background-color:#eee; border:2px solid #ddd; padding:8px; direction: {{Dir|{{int:lang}}}}; " class="licensetpl_wrapper">
| {{#ifexpr: {{Self/is-pd-expired|{{{1}}}}} or {{Self/is-pd-expired|{{{2}}}}} or {{Self/is-pd-expired|{{{3}}}}} or {{Self/is-pd-expired|{{{4}}}}} or {{Self/is-pd-expired|{{{5}}}}} or {{Self/is-pd-expired|{{{6}}}}}
{{#ifexpr: {{Self/is-pd-expired|{{{1}}}}} or {{Self/is-pd-expired|{{{2}}}}} or {{Self/is-pd-expired|{{{3}}}}} or {{Self/is-pd-expired|{{{4}}}}} or {{Self/is-pd-expired|{{{5}}}}} or {{Self/is-pd-expired|{{{6}}}}}
|<div style="color:red; font-size:150%; text-align:center">'''{{int:wm-license-self-invalid-parameter}}'''</div>[[Category:Files with invalid parameter in Self template]]
|<div class="error" style="text-align:center; font-weight:bold;">{{int:wm-license-self-invalid-parameter}}</div>[[Category:Files with invalid parameter in Self template]]
}}<!--
}}<!--
--><div class="center">'''{{lang|{{int:lang}}|{{#if:{{{author|}}}
--><div class="center" style="font-weight:bold;">{{lang|{{int:lang}}|{{#if:{{{author|}}}
  |{{#if:{{{2|}}}
  |{{#if:{{{2|}}}
  | {{int:wm-license-self-multiple-licenses-with-author|<span class="licensetpl_aut">{{{author|}}}</span>}}
| {{int:wm-license-self-multiple-licenses-with-author|<span class="licensetpl_aut">{{{author|}}}</span>}}
  | {{int:wm-license-self-one-license-with-author|<span class="licensetpl_aut">{{{author|}}}</span>}}
| {{int:wm-license-self-one-license-with-author|<span class="licensetpl_aut">{{{author|}}}</span>}}
   }}
   }}
  |{{#if:{{{2|}}}
  |{{#if:{{{2|}}}
  | {{int:wm-license-self-multiple-licenses}}
| {{int:wm-license-self-multiple-licenses}}
  | {{int:wm-license-self-one-license}}
| {{int:wm-license-self-one-license}}
   }}
   }}
  }}
  }}<!--
}}'''</div><!--
-->}}</div><!--
-->{{#if: {{{1|}}} |{{{{{1}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{1|}}} |{{{{{1}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{2|}}} |{{{{{2}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{2|}}} |{{{{{2}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
20行目: 20行目:
-->{{#if: {{{4|}}} |{{{{{4}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{4|}}} |{{{{{4}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{5|}}} |{{{{{5}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{5|}}} |{{{{{5}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{6|}}} |{{{{{6}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--  
-->{{#if: {{{6|}}} |{{{{{6}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
If more than one licence, you can select one:
If more than one licence, you can select one:
-->{{#if: {{{2|}}}|<div class="center">{{lang|{{int:lang}}|''{{int:wm-license-self-multiple-licenses-select}}''}}</div>|}}
-->{{#if: {{{2|}}}|<div class="center">{{lang|{{int:lang}}|''{{int:wm-license-self-multiple-licenses-select}}''}}</div>|}}
|}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:Self-published work|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
</div><includeonly>{{#ifeq:{{NAMESPACENUMBER}}|6|{{{category|[[Category:Self-published work|{{PAGENAME}}]]}}}}}</includeonly><noinclude>


{{In category|Self-published work}}
{{In category|Self-published work}}
29行目: 29行目:
{{documentation}}
{{documentation}}


[[Category:Helper templates|Self]]
[[Category:Helper templates]]
[[Category:Autotranslated templates|Self]]
[[Category:Autotranslated templates]]
</noinclude>
</noinclude>
匿名利用者