Template:Display censorship incident: Difference between revisions

From Censorpedia

(fix hardcoded date for date of action)
(move annotations from in-text to set and move out of display area where possible)
Line 32: Line 32:
'''Year:''' {{#arraymap: {{{year|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Has incident year=@@@@ }} }}
'''Year:''' {{#arraymap: {{{year|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Has incident year=@@@@ }} }}


'''Date of Action:''' [[Was challenged on date::{{{date_of_action|}}}]]
'''Date of Action:''' {{{date_of_action|}}}


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


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


'''Subject:''' {{#arraymap: {{{subject|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Was challenged because of subject=@@@@ }} }}
'''Subject:''' {{#arraymap: {{{subject|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Was challenged because of subject=@@@@ }} }}
Line 42: Line 42:
'''Medium:''' {{#arraymap: {{{Mixed Media|{{{medium|}}}}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Has medium=@@@@ }} }}
'''Medium:''' {{#arraymap: {{{Mixed Media|{{{medium|}}}}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Has medium=@@@@ }} }}


'''Confronting Bodies:''' [[Was confronted by::{{{confronting_bodies|}}}]]
'''Confronting Bodies:''' {{{confronting_bodies|}}}


'''Description of Artwork:''' {{{description_of_content|Not provided yet.}}}
'''Description of Artwork:''' {{{description_of_content|Not provided yet.}}}
Line 57: Line 57:
<div style="display: none">
<div style="display: none">
{{#set:
{{#set:
  Case is ongoing={{{ongoing|}}}
Case is ongoing={{{ongoing|}}}
  |Has description of incident={{{description_of_incident|}}}
|Was challenged on date={{{date_of_action|}}}
  |Has description of content={{{description_of_content|}}}
|Has location={{{location|}}}
  |Has description of result={{{description_of_result|}}}
|Was confronted by={{{confronting_bodies|}}}
|Has description of content={{{description_of_content|}}}
|Has description of incident={{{description_of_incident|}}}
|Has description of result={{{description_of_result|}}}
}}
}}
{{#ifeq: {{{ongoing|}}} |yes |[[Category:Ongoing Case]] }}
{{#ifeq: {{{ongoing|}}} |yes |[[Category:Ongoing Case]] }}

Revision as of 17:14, 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.