Template:Contributor: Difference between revisions

From PrintRoom archive
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 8: Line 8:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="list"  
</noinclude><includeonly>{|style="display:none"
! has contributor type
! has contributor type
| {{#arraymap:{{{has contributor type|}}}|,|x|[[has contributor type::x]]}}
| {{#arraymap:{{{has contributor type|}}}|,|x|[[has contributor type::x]]}}
|-
! has url
| [[has url::{{{has url|}}}]]
|}
|}


{{#ask:[[{{FULLPAGENAME}}]]
{{#ask:[[{{FULLPAGENAME}}]]
|?has contributor type
|? has contributor type
|? has url
|format=broadtable
|format=broadtable
|mainlabel=-
|mainlabel=-
Line 20: Line 26:
|class=smwtable-clean entrypage-table
|class=smwtable-clean entrypage-table
|transpose=yes
|transpose=yes
}}
}}  
 
 




===Publications===
==Publications==


{{#ask:
{{#ask:
  [[Category:Publications]]
  [[Category:Publication]]
  [[has publisher::{{FULLPAGENAME}}]] OR [[has artist publisher::{{FULLPAGENAME}}]]
  [[has publisher::{{FULLPAGENAME}}]] OR [[has artist publisher::{{FULLPAGENAME}}]]
|?
  |format=template
  |format=template
  |template=ReverseQuery
  |template=ReverseQuery
}}
}}


===Other contributions===
 
 
==Other contributions==
{{#ask:
{{#ask:
  [[Category:Publications]][[-has author::+]]
  [[Category:Publication]][[has author::{{FULLPAGENAME}}]] OR [[has writer::{{FULLPAGENAME}}]] OR [[has editor::{{FULLPAGENAME}}]] OR [[has designer::{{FULLPAGENAME}}]]
|?
  |format=template
  |format=template
  |template=ReverseQuery
  |template=ReverseQuery
}}
}}


<!--another way of doing it: to-do: make it more curated -->
<!--
{{#ask:
[[Category:Publication]][[has publisher::{{FULLPAGENAME}}]]
|?
|?-has publisher=publisher
|?has author
|headers=plain
|mainlabel=-
|class=datatable categorytable-publication
|format=ul
|limit=1000
}}
-->
<br >


[[Category:Contributors]]
[[Category:Contributors]]

Latest revision as of 15:25, 6 July 2025

This is the "Contributor" template. It should be called in the following format:

{{Contributor
|has contributor type=
}}

Edit the page to see the template text.