Template:Display censorship incident: Difference between revisions

From Censorpedia

(reduce the number of arraymaps, move extra stuff into a hidden div rather than using the nowiki tag)
(actually store data within semantic annotations. Either never added or lost along the way.)
Line 34: Line 34:
'''Date of Action:''' [[Was challenged on date::August 2021]]
'''Date of Action:''' [[Was challenged on date::August 2021]]


'''Region:''' {{#arraymap: {{{region|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] }}
'''Region:''' {{#arraymap: {{{region|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Was challenged in region=@@@@ }} }}


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


'''Subject:''' {{#arraymap: {{{subject|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] }}
'''Subject:''' {{#arraymap: {{{subject|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Was challenged because of subject=@@@@ }} }}


'''Medium:''' {{#arraymap: {{{Mixed Media|{{{medium|}}}}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] }}
'''Medium:''' {{#arraymap: {{{Mixed Media|{{{medium|}}}}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Has medium=@@@@ }} }}


'''Confronting Bodies:''' [[Was confronted by::{{{confronting_bodies|}}}]]  
'''Confronting Bodies:''' [[Was confronted by::{{{confronting_bodies|}}}]]  
Line 56: Line 56:
[[Category:Censorship incident]]
[[Category:Censorship incident]]
<div style="display: none">
<div style="display: none">
{{#set: Case is ongoing={{{ongoing|}}} }}
{{#set:
  Case is ongoing={{{ongoing|}}}
  |Has description of incident={{{description_of_incident|}}}
  |Has description of content={{{description_of_content|}}}
  |Has description of result={{{description_of_result|}}}
}}
{{#ifeq: {{{ongoing|}}} |yes |[[Category:Ongoing Case]] }}
{{#ifeq: {{{ongoing|}}} |yes |[[Category:Ongoing Case]] }}
{{#default_form:Censorship incident}}
{{#default_form:Censorship incident}}

Revision as of 16:30, 30 January 2023

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=
|image=
|source=
|sourcetext=
}}

Edit the page to see the template text.