Difference between revisions of "Template:Comments with attached articles"
m (1 revision) |
|||
Line 3: | Line 3: | ||
[[Rationale::Shows articles in this wiki that have attached articles by comments.]] | [[Rationale::Shows articles in this wiki that have attached articles by comments.]] | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude><includeonly>{{#vardefine:query|[[Comment:+]][[Has attached article::+]]}} {{#vardefine:resultLimit|5}} {{#vardefine:resultNumber|{{#ask: {{#var:query}} | format=count}}}} | </noinclude><includeonly>{{#vardefine:query|[[Comment:+]][[Has attached article::+]]}} {{#vardefine:resultLimit|5}} {{#vardefine:resultNumber|{{#ask: {{#var:query}} | format=count}}}} | ||
{| cellspacing="0" cellpadding="5" style="border: 1px solid rgb(170, 170, 170); margin: 0pt 0pt 0.5em 1em; background: rgb(255, 255, 255) none repeat scroll 0% 0%; position: relative; border-collapse: collapse; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; float: right; clear: right; width: 35%;" | {| cellspacing="0" cellpadding="5" style="border: 1px solid rgb(170, 170, 170); margin: 0pt 0pt 0.5em 1em; background: rgb(255, 255, 255) none repeat scroll 0% 0%; position: relative; border-collapse: collapse; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; float: right; clear: right; width: 35%;" | ||
Line 9: | Line 9: | ||
! style="background: rgb(237, 244, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;" colspan="2" | ({{#var:resultNumber}}) attached articles | ! style="background: rgb(237, 244, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;" colspan="2" | ({{#var:resultNumber}}) attached articles | ||
|- | |- | ||
| {{#ask: {{#var:query}} | | {{#ask: {{#var:query}} | ||
|?Belongs to article | |?Belongs to article | ||
|?Has attached article | |?Has attached article | ||
| format=template | | format=template | ||
| template=Article row for comment attachments | | template=Article row for comment attachments | ||
| limit={{#var:resultLimit}} | | limit={{#var:resultLimit}} | ||
| searchlabel= | | searchlabel= | ||
| link=none | | link=none | ||
| default=*''no articles with attached articles yet'' | | default=*''no articles with attached articles yet'' | ||
}} | }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{Part of bundle|value=Collaboration}} | |||
{{Content hash|value=}} | |||
</noinclude> | </noinclude> |