Template:Contributor: Difference between revisions
No edit summary |
No edit summary |
||
| (28 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>{| | </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 | ! has url | ||
|[[has | | [[has url::{{{has url|}}}]] | ||
|} | |} | ||
{{#ask:[[{{FULLPAGENAME}}]] | {{#ask:[[{{FULLPAGENAME}}]] | ||
|?has contributor type | |? has contributor type | ||
|? has url | |||
|format=broadtable | |format=broadtable | ||
|mainlabel=- | |mainlabel=- | ||
| Line 23: | Line 26: | ||
|class=smwtable-clean entrypage-table | |class=smwtable-clean entrypage-table | ||
|transpose=yes | |transpose=yes | ||
}} | |||
==Publications== | |||
{{#ask: | |||
[[Category:Publication]] | |||
[[has publisher::{{FULLPAGENAME}}]] OR [[has artist publisher::{{FULLPAGENAME}}]] | |||
|format=template | |||
|template=ReverseQuery | |||
}} | |||
==Other contributions== | |||
{{#ask: | |||
[[Category:Publication]][[has author::{{FULLPAGENAME}}]] OR [[has writer::{{FULLPAGENAME}}]] OR [[has editor::{{FULLPAGENAME}}]] OR [[has designer::{{FULLPAGENAME}}]] | |||
|format=template | |||
|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]] | ||
{{Special:Browse/{{FULLPAGENAME}}}} | {{Special:Browse/{{FULLPAGENAME}}}} | ||
</includeonly> | </includeonly> | ||
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.