Template:Display censorship incident: Difference between revisions
From Censorpedia
K. Hoffmeyer (talk | contribs) (fix hardcoded category for medium) |
K. Hoffmeyer (talk | contribs) (reduce the number of arraymaps, move extra stuff into a hidden div rather than using the nowiki tag) |
||
Line 30: | Line 30: | ||
====Artist: {{#arraymap: {{{artist|}}} |, |@@@@ |[[Was created by::@@@@]] }}==== | ====Artist: {{#arraymap: {{{artist|}}} |, |@@@@ |[[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:''' [[Was challenged on date::August 2021]] | ||
'''Region:''' {{#arraymap: {{{region|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] }} | '''Region:''' {{#arraymap: {{{region|}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[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:@@@@|@@@@]] [[Category:@@@@]] }} | ||
'''Medium:''' {{#arraymap: {{{Mixed Media|{{{medium|}}}}}} |, |@@@@ |[[:Category:@@@@|@@@@]] }} | '''Medium:''' {{#arraymap: {{{Mixed Media|{{{medium|}}}}}} |, |@@@@ |[[:Category:@@@@|@@@@]] [[Category:@@@@]] }} | ||
'''Confronting Bodies:''' [[Was confronted by::{{{confronting_bodies|}}}]] | '''Confronting Bodies:''' [[Was confronted by::{{{confronting_bodies|}}}]] | ||
Line 55: | Line 55: | ||
[[Category:Censorship incident]] | [[Category:Censorship incident]] | ||
{{#set: Case is ongoing={{{ongoing|}}} }} | <div style="display: none"> | ||
{{#set: Case is ongoing={{{ongoing|}}} }} | |||
{{#ifeq: {{{ongoing|}}} |yes |[[Category:Ongoing Case]] }} | |||
{{#default_form:Censorship incident}} | |||
</div> | |||
{{#ifeq: {{{ongoing|}}} |yes |[[Category:Ongoing Case]] | |||
{{#default_form:Censorship incident}}< | |||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
</includeonly> | </includeonly> |
Revision as of 16:17, 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.