Template:Display censorship incident: Difference between revisions

From Censorpedia

(the variable must have been renamed along the way. now also adding the new variable name retaining backwards compatibility)
(also annotate images uploaded to cases)
 
(7 intermediate revisions by the same user not shown)
Line 26: Line 26:
<span class="plainlinks">[{{fullurl:Special:FormEdit/Censorship incident/{{FULLPAGENAME}}}} '''EDIT PAGE''']</span>
<span class="plainlinks">[{{fullurl:Special:FormEdit/Censorship incident/{{FULLPAGENAME}}}} '''EDIT PAGE''']</span>
</div>
</div>
{{#if: {{{image|}}} |[[File:{{{image}}}|right|300px]] | }}
{{#if: {{{image|}}} |[[File:{{{image|}}}|right|300px]] }}


====Artist: {{#arraymap: {{{artist|}}} |, |@@@@ |[[Was created by::@@@@]] }}====
====Artist: {{#arraymap: {{{artist|}}} |, |@@@@ |@@@@ {{#set: Was created by=@@@@ }} }}====


'''Year:''' {{#arraymap: {{{year|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] {{#set: Has incident year=@@@@ }} }}
'''Year:''' {{#arraymap: {{{year|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Has incident year=@@@@ }} }}


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


'''Region:''' {{#arraymap: {{{region|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] }}
'''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:@@@@|@@@@]] }}
'''Subject:''' {{#arraymap: {{{subject|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] {{#set: Was challenged because of subject=@@@@ }} }}


'''Medium:''' {{#arraymap: {{{Mixed Media|{{{medium|}}}}}} |, |@@@@ |[[:Category:Public Art|Public Art]] }}
'''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 50: Line 50:
'''Results of Incident:''' {{{description_of_result|Not provided yet.}}}
'''Results of Incident:''' {{{description_of_result|Not provided yet.}}}


'''Source:''' {{#arraymap: {{{source|}}} |, |@@@@ |<br>&bull; [[Has source link::@@@@]] }}
'''Source:''' {{#arraymap: {{{source|}}} |, |@@@@ |<br>&bull; @@@@ {{#set: Has source link=@@@@ }} }}


{{{sourcetext|}}}
{{{sourcetext|}}}


[[Category:Censorship incident]]
[[Category:Censorship incident]]
{{#set: Case is ongoing={{{ongoing|}}} }}<nowiki/>
<div style="display: none">
{{#arraymap: {{{year|}}} |, |@@@@ |[[Category:@@@@]] |&#32; }}<nowiki/>
{{#set:
{{#arraymap: {{{region|}}} |, |@@@@ |[[Category:@@@@]] |&#32; }}<nowiki/>
Case is ongoing={{{ongoing|}}}
{{#arraymap: {{{subject|}}} |, |@@@@ |[[Category:@@@@]] |&#32; }}<nowiki/>
|Has image={{{image|}}}
{{#arraymap: {{{medium|}}} |, |@@@@ |[[Category:@@@@]] |&#32; }}<nowiki/>
|Was challenged on date={{{date_of_action|}}}
{{#ifeq: {{{ongoing|}}} |yes |[[Category:Ongoing Case]] | }}<nowiki/>
|Has location={{{location|}}}
{{#default_form:Censorship incident}}<nowiki/>
|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]] }}
{{#default_form:Censorship incident}}
</div>
__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
</includeonly>
</includeonly>

Latest revision as of 17:59, 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.