Difference between revisions of "Template:License section"

From Creative Commons
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
|Has license={{SUBPAGENAME}}
 
|Has license={{SUBPAGENAME}}
 
|Has text={{{Section text|}}}
 
|Has text={{{Section text|}}}
 +
|Text has language={{{lang|}}}
 
|Has retranslated text={{{Retranslated section text|}}}}}</div><div style="padding:10px;background-color:#f4f4f4;margin-bottom:10px;border-left:#c0c0c0 1px solid">
 
|Has retranslated text={{{Retranslated section text|}}}}}</div><div style="padding:10px;background-color:#f4f4f4;margin-bottom:10px;border-left:#c0c0c0 1px solid">
 
<div style="font-size:115%;padding-bottom:10px;display:table;">'''License section tag(s):''' {{{License section|}}}</div>
 
<div style="font-size:115%;padding-bottom:10px;display:table;">'''License section tag(s):''' {{{License section|}}}</div>
<p style="margin-bottom:0.5em;">'''Section text'''</p>
+
<p style="margin-bottom:0.5em;">'''Section Text {{#if:{{{lang|}}}|({{{lang|}}})|}}'''</p>
<div style="margin-left:20px;">{{{Section text|}}}</div><br />
+
<div style="margin-left:20px;">{{{Section text|}}}</div>
 
{{#if: {{{Retranslated section text|}}}|<p style="margin-bottom:0.5em;">'''Re-translated text'''</p>
 
{{#if: {{{Retranslated section text|}}}|<p style="margin-bottom:0.5em;">'''Re-translated text'''</p>
 
<div style="margin-left:20px;">{{{Retranslated section text|}}}</div>|}}
 
<div style="margin-left:20px;">{{{Retranslated section text|}}}</div>|}}
<div style="float:right;display:table;padding:5px;">
+
<div style="text-align:right;display:table;padding:5px;margin-top:10px;">
 
{{#ifexist: {{#titleparts: {{PAGENAME}} | 2 }}|{{#arraydefine:pdrtags|{{#ask: [[{{#titleparts: {{PAGENAME}} | 2 }}]]|?PDR discusses|format=list|limit=100|link=none}}}}{{#arraydefine:pdrsectiontags|{{{License section|}}}}}{{#arrayintersect:matchingpdtags|pdrsectiontags|pdrtags}}{{#ifexpr: {{#arraysize:matchingpdtags}} > 0 | <small>[[{{#titleparts: {{PAGENAME}} | 2 }}|Marked]] as discussed in the porting process [[{{#titleparts: {{PAGENAME}} | 2 }}#Public_Discussion_Report|Public Discussion Report]].</small><br /> |}}|}}
 
{{#ifexist: {{#titleparts: {{PAGENAME}} | 2 }}|{{#arraydefine:pdrtags|{{#ask: [[{{#titleparts: {{PAGENAME}} | 2 }}]]|?PDR discusses|format=list|limit=100|link=none}}}}{{#arraydefine:pdrsectiontags|{{{License section|}}}}}{{#arrayintersect:matchingpdtags|pdrsectiontags|pdrtags}}{{#ifexpr: {{#arraysize:matchingpdtags}} > 0 | <small>[[{{#titleparts: {{PAGENAME}} | 2 }}|Marked]] as discussed in the porting process [[{{#titleparts: {{PAGENAME}} | 2 }}#Public_Discussion_Report|Public Discussion Report]].</small><br /> |}}|}}
{{#ifexist: {{#titleparts: {{PAGENAME}} | 2 }}|{{#arraydefine:scrtags|{{#ask: [[{{#titleparts: {{PAGENAME}} | 2 }}]]|?SC discusses|format=list|limit=100|link=none}}}}{{#arraydefine:scrsectiontags|{{{License section|}}}}}{{#arrayintersect:matchingsctags|scrsectiontags|scrtags}}{{#ifexpr: {{#arraysize:matchingsctags}} > 0 | <small>[[{{#titleparts: {{PAGENAME}} | 2 }}|Marked]] as discussed in the porting process [[{{#titleparts: {{PAGENAME}} | 2 }}/#Substantial_Changes_Report|Substantial Changes Report]].</small> |}}|}}</div>
+
{{#ifexist: {{#titleparts: {{PAGENAME}} | 2 }}|{{#arraydefine:scrtags|{{#ask: [[{{#titleparts: {{PAGENAME}} | 2 }}]]|?SC discusses|format=list|limit=100|link=none}}}}{{#arraydefine:scrsectiontags|{{{License section|}}}}}{{#arrayintersect:matchingsctags|scrsectiontags|scrtags}}{{#ifexpr: {{#arraysize:matchingsctags}} > 0 | <small>[[{{#titleparts: {{PAGENAME}} | 2 }}|Marked]] as discussed in the porting process [[{{#titleparts: {{PAGENAME}} | 2 }}#Substantial_Changes_Report|Substantial Changes Report]].</small> |}}|}}
 +
</div>
 
<div style="clear:both;display:none;"></div>
 
<div style="clear:both;display:none;"></div>
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 18:27, 25 October 2010