Template:Display censorship incident: Difference between revisions

From Censorpedia

(properties better start with upper case characters)
(improve readability of code)
Line 22: Line 22:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#if: {{{image|}}} |[[File:{{{image}}}|right|300px]] | }}


{{#if: {{{image|}}} | [[File:{{{image}}}|right|300px]] |}}
====Artist: {{#arraymap: {{{artist|}}} |, |@@@@ |[[Was created by::@@@@]] }}====


====Artist: {{#arraymap:{{{artist|}}}|,|@@@@|[[Was created by::@@@@]]}}====
'''Year:''' {{#arraymap: {{{year|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] }}
 
'''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|}}}|,|@@@@|[[:Category:@@@@|@@@@]]}}
'''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|}}}|,|@@@@|[[:Category:@@@@|@@@@]]}}
'''Subject:''' {{#arraymap: {{{subject|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] }}


'''Medium:''' {{#arraymap:{{{Mixed Media|}}}|,|@@@@|[[: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 46:
'''Results of Incident:''' {{{description_of_result}}}
'''Results of Incident:''' {{{description_of_result}}}


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


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

Revision as of 08:40, 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.