Template:Display censorship incident: Difference between revisions

From Censorpedia

(remove spam)
(small code improvement)
Line 25: Line 25:
{{#if: {{{image|}}} | [[File:{{{image}}}|right|300px]] |}}
{{#if: {{{image|}}} | [[File:{{{image}}}|right|300px]] |}}


====Artist: {{#arraymap:{{{artist|}}}|,|x|[[was created by::x]]}}====
====Artist: {{#arraymap:{{{artist|}}}|,|@@@@|[[was created by::x]]}}====


'''Year:''' {{#arraymap:{{{year|}}}|,|x|[[:Category:x|x]]}}
'''Year:''' {{#arraymap:{{{year|}}}|,|@@@@|[[:Category:@@@@|@@@@]]}}


'''Date of Action:''' [[was challenged on date::August 2021]]
'''Date of Action:''' [[was challenged on date::August 2021]]


'''Region:''' {{#arraymap:{{{region|}}}|,|x|[[:Category:x|x]]}}
'''Region:''' {{#arraymap:{{{region|}}}|,|@@@@|[[:Category:@@@@|@@@@]]}}


{{#if: {{{location|}}} | '''Location:''' [[has location::{{{location|}}}]] |<!--'''Location:''' Not Specified-->}}
{{#if: {{{location|}}} | '''Location:''' [[has location::{{{location|}}}]] |<!--'''Location:''' Not Specified-->}}


'''Subject:''' {{#arraymap:{{{subject|}}}|,|x|[[:Category:x|x]]}}
'''Subject:''' {{#arraymap:{{{subject|}}}|,|@@@@|[[:Category:@@@@|@@@@]]}}


'''Medium:''' {{#arraymap:{{{Mixed Media|}}}|,|x|[[:Category:Public Art|Public Art]]}}
'''Medium:''' {{#arraymap:{{{Mixed Media|}}}|,|@@@@|[[:Category:Public Art|Public Art]]}}


'''Confronting Bodies:''' [[was confronted by::{{{confronting_bodies|}}}]]  
'''Confronting Bodies:''' [[was confronted by::{{{confronting_bodies|}}}]]  
Line 47: Line 47:
'''Results of Incident:''' {{{description_of_result}}}
'''Results of Incident:''' {{{description_of_result}}}


'''Source:''' {{#arraymap:{{{source|}}}|,|x|[[has source link::x]]}}
'''Source:''' {{#arraymap:{{{source|}}}|,|@@@@|[[has source link::x]]}}


{{#set:Case is ongoing={{{ongoing}}}}}
{{#set:Case is ongoing={{{ongoing}}}}}
[[Category:Censorship incident]]
[[Category:Censorship incident]]
{{#arraymap:{{{year|}}}|,|x|[[Category:x]]|&#32;}}
{{#arraymap:{{{year|}}}|,|@@@@|[[Category:@@@@]]|&#32;}}
{{#arraymap:{{{region|}}}|,|x|[[Category:x]]|&#32;}}
{{#arraymap:{{{region|}}}|,|@@@@|[[Category:@@@@]]|&#32;}}
{{#arraymap:{{{subject|}}}|,|x|[[Category:x]]|&#32;}}
{{#arraymap:{{{subject|}}}|,|@@@@|[[Category:@@@@]]|&#32;}}
{{#arraymap:{{{medium|}}}|,|x|[[Category:x]]|&#32;}}
{{#arraymap:{{{medium|}}}|,|@@@@|[[Category:@@@@]]|&#32;}}
{{#ifeq: {{{ongoing|}}} | yes | [[Category:Ongoing Case]] |}}
{{#ifeq: {{{ongoing|}}} | yes | [[Category:Ongoing Case]] |}}
{{#default_form:Censorship incident}}
{{#default_form:Censorship incident}}
__NOTOC__
__NOTOC__
</includeonly>
</includeonly>

Revision as of 08:29, 14 September 2022

This is the "Display censorship incident" template. It should be called in the following format:

{{Censorship incident
|ongoing=
|year=
|region=
|subject=
|artist=
|medium=
|confronting_bodies=
|date_of_action=
|location=
|description_of_content=
|description_of_incident=
|description_of_result=
|has_image=
|source=
}}

Edit the page to see the template text.