Difference between revisions of "Template:License section"

From Creative Commons
Jump to: navigation, search
Line 9: Line 9:
 
<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>
 
<div style="float:right;display:inline-block;">
 
<div style="float:right;display:inline-block;">
{{#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 | [[{{#titleparts: {{PAGENAME}} | 2 }}|Marked as discussed in the PDR.]]<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 }}|Discussed in the 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 | [[{{#titleparts: {{PAGENAME}} | 2 }}|Marked as discussed in the SCR.]] |}}|}}</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 }}|Discussed in the Substantial Changes Report]]</small> |}}|}}</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:53, 9 August 2010