Difference between revisions of "Template:License section"

From Creative Commons
Jump to: navigation, search
Line 8: Line 8:
 
|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="width:100%;display:table;"><div style="font-size:115%;padding-bottom:10px;float:left;display:inline-block;">'''License section tag(s):''' {{{License section|}}}</div>
 
<div style="width:100%;display:table;"><div style="font-size:115%;padding-bottom:10px;float:left;display:inline-block;">'''License section tag(s):''' {{{License section|}}}</div>
{{#ifexist: {{#titleparts: {{PAGENAME}} | 2 }}|{{#arraydefine:pdrtags|{{#ask: [[{{#titleparts: {{PAGENAME}} | 2 }}]]|?PDR discusses|format=list|limit=100|link=none}}]{{#arraydefine:sectiontags|{{{License section|}}}}}{{#arrayintersect:matchingtags|sectiontags|pdrtags}}{{#ifexpr: {{#arraysize:matchingtags}} > 0 | <div style="float:right;display:inline-block;">Discussed in PDR</div> |}}|}}
+
{{#ifexist: {{#titleparts: {{PAGENAME}} | 2 }}|{{#arraydefine:pdrtags|{{#ask: [[{{#titleparts: {{PAGENAME}} | 2 }}]]|?PDR discusses|format=list|limit=100|link=none}}}}{{#arraydefine:sectiontags|{{{License section|}}}}}{{#arrayintersect:matchingtags|sectiontags|pdrtags}}{{#ifexpr: {{#arraysize:matchingtags}} > 0 | <div style="float:right;display:inline-block;">Discussed in PDR</div> |}}|}}
 
<div style="clear:both;display:none;"></div></div>
 
<div style="clear:both;display:none;"></div></div>
 
<p style="margin-bottom:0.5em;">'''Section text'''</p>
 
<p style="margin-bottom:0.5em;">'''Section text'''</p>

Revision as of 22:44, 9 August 2010