Jump to content

Template:Self: Difference between revisions

update template to use code from wikicommons as opposed to previous code from wikipedia
(replace)
(update template to use code from wikicommons as opposed to previous code from wikipedia)
Line 1: Line 1:
{| style="margin:0.5em auto; width:90%; background-color:#f0f0f0; border:2px solid #aaaaaa; padding:2px;"
{| 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"
| <center>'''''{{{author|I}}}, the copyright holder of this work,''' hereby publish{{#if: {{{author|}}}|es|}} it under the following license{{#if: {{{2|}}}|s|}}:''</center>
| <center>'''{{lang|{{int:lang}}|{{#if:{{{author|}}}
<center>''<!--
|{{#if:{{{2|}}}
//-->{{{{{1}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} <!--  
  | {{int:wm-license-self-multiple-licenses-with-author|<span class="licensetpl_aut">{{{author|}}}</span>}}
//-->{{#if: {{{2|}}} |{{ {{{2}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }} <!--  
  | {{int:wm-license-self-one-license-with-author|<span class="licensetpl_aut">{{{author|}}}</span>}}
//-->{{#if: {{{3|}}} |{{ {{{3}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }} <!--  
  }}
//-->{{#if: {{{4|}}} |{{ {{{4}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }} <!--  
|{{#if:{{{2|}}}
//-->{{#if: {{{5|}}} |{{ {{{5}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }} <!--  
  | {{int:wm-license-self-multiple-licenses}}
//-->{{#if: {{{6|}}} |{{ {{{6}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }}</center> <!--  
  | {{int:wm-license-self-one-license}}
//-->{{#if: {{{2|}}}|<center>{{lang|en|''You may select the license of your choice.''}}</center>|}}
  }}
|}<includeonly>[[Category:Self-published work|{{PAGENAME}}]]</includeonly><noinclude>
}}
}}'''</center><!--
-->{{#if: {{{1|}}} |{{{{{1}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|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|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{3|}}} |{{{{{3}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|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|}}}|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|}}}|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|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--  
If more than one licence, you can select one:
-->{{#if: {{{2|}}}|<center>{{lang|{{int:lang}}|''{{int:wm-license-self-multiple-licenses-select}}''}}</center>|}}
|}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:Self-published work|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
{{template doc}}
{{template doc}}
</noinclude>
</noinclude>
90,866

edits