Bots, Editors (Semantic MediaWiki), trusted
9,959
edits
(CTD literature: separate compiler from author) |
m (Add mentioned people/places/events/organizations/literature/periodicals fields; combine with mentioned in into a single collapsible block before DATA (parity with ru Литература БТС)) |
||
| Line 30: | Line 30: | ||
| short description = | | short description = | ||
| mentioned in = | | mentioned in = | ||
| mentioned people = | |||
| mentioned places = | |||
| mentioned events = | |||
| mentioned organizations = | |||
| mentioned literature = | |||
| mentioned periodicals = | |||
| image = | | image = | ||
| image description = | | image description = | ||
| Line 78: | Line 84: | ||
* '''short description''' — Plain-text description for popup hints and footnotes; defaults to an abbreviated description. {{p|CTD term short description}} | * '''short description''' — Plain-text description for popup hints and footnotes; defaults to an abbreviated description. {{p|CTD term short description}} | ||
* '''mentioned in''' — Works in which this work is mentioned. Enter titles as hyperlinks, separated by semicolons; each item is a separate Text value. {{p|CTD mentioned in}} | * '''mentioned in''' — Works in which this work is mentioned. Enter titles as hyperlinks, separated by semicolons; each item is a separate Text value. {{p|CTD mentioned in}} | ||
* '''mentioned people''' — People and characters mentioned in this work, separated by semicolons. | |||
* '''mentioned places''' — Places mentioned in this work, separated by semicolons. | |||
* '''mentioned events''' — Events mentioned in this work, separated by semicolons. | |||
* '''mentioned organizations''' — Organizations mentioned in this work, separated by semicolons. | |||
* '''mentioned literature''' — Other literary works mentioned in this work, separated by semicolons. | |||
* '''mentioned periodicals''' — Periodicals mentioned in this work, separated by semicolons. | |||
* '''image''' — Image filename for the cover or illustration. {{p|CTD term image}} | * '''image''' — Image filename for the cover or illustration. {{p|CTD term image}} | ||
* '''image description''' — Caption for the image. {{p|CTD image description}} | * '''image description''' — Caption for the image. {{p|CTD image description}} | ||
| Line 148: | Line 160: | ||
-->{{#if: {{{publication date|}}}|<p style="font-size:90%;text-indent:0;">({{{publication date|}}})</p>|}}<!-- | -->{{#if: {{{publication date|}}}|<p style="font-size:90%;text-indent:0;">({{{publication date|}}})</p>|}}<!-- | ||
--><div style="white-space:pre-wrap;">{{{description|}}}</div><!-- | --><div style="white-space:pre-wrap;">{{{description|}}}</div><!-- | ||
-->{{#if: {{{publications|}}}|<p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Publications:</p><!-- | -->{{#if: {{{publications|}}}|<p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Publications:</p><!-- | ||
--><ul>{{#arraymap:{{{publications|}}}|;|@@|<li>@@</li>|}}</ul>|}}<!-- | --><ul>{{#arraymap:{{{publications|}}}|;|@@|<li>@@</li>|}}</ul>|}}<!-- | ||
| Line 177: | Line 187: | ||
-->{{#if: {{{other resources|}}}|<p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Other resources:</p><!-- | -->{{#if: {{{other resources|}}}|<p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Other resources:</p><!-- | ||
--><ul>{{#arraymap:{{{other resources|}}}|;|@@|<li>@@</li>|}}</ul>|}}<!-- | --><ul>{{#arraymap:{{{other resources|}}}|;|@@|<li>@@</li>|}}</ul>|}}<!-- | ||
MENTIONS: a single collapsible block for all "mentioned ..." fields — | |||
both who/what this article mentions, where this article is mentioned. | |||
Collapsed by default; shown only if at least one field is filled. | |||
Placed before the DATA block. | |||
-->{{#if: {{{mentioned in|}}}{{{mentioned people|}}}{{{mentioned places|}}}{{{mentioned events|}}}{{{mentioned organizations|}}}{{{mentioned literature|}}}{{{mentioned periodicals|}}} | |||
| <table class="mw-collapsible mw-collapsed" style="background:#f8f9fa;border:1px solid grey;width:100%;margin-top:1em;"> | |||
<tr><td style="font-weight:bold;padding:3px 5px;">Mentions</td></tr> | |||
<tr><td style="padding:0 8px 8px 8px;"><!-- | |||
-->{{#if: {{{mentioned in|}}} | |||
| <p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Mentioned in:</p> | |||
<ul>{{#arraymap:{{{mentioned in|}}}|;|@@|<li>@@</li>|}}</ul> | |||
|}}<!-- | |||
-->{{#if: {{{mentioned people|}}} | |||
| <p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Mentioned people:</p> | |||
<ul>{{#arraymap:{{{mentioned people|}}}|;|@@|<li>@@</li>|}}</ul> | |||
|}}<!-- | |||
-->{{#if: {{{mentioned places|}}} | |||
| <p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Mentioned places:</p> | |||
<ul>{{#arraymap:{{{mentioned places|}}}|;|@@|<li>@@</li>|}}</ul> | |||
|}}<!-- | |||
-->{{#if: {{{mentioned events|}}} | |||
| <p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Mentioned events:</p> | |||
<ul>{{#arraymap:{{{mentioned events|}}}|;|@@|<li>@@</li>|}}</ul> | |||
|}}<!-- | |||
-->{{#if: {{{mentioned organizations|}}} | |||
| <p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Mentioned organizations:</p> | |||
<ul>{{#arraymap:{{{mentioned organizations|}}}|;|@@|<li>@@</li>|}}</ul> | |||
|}}<!-- | |||
-->{{#if: {{{mentioned literature|}}} | |||
| <p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Mentioned literature:</p> | |||
<ul>{{#arraymap:{{{mentioned literature|}}}|;|@@|<li>@@</li>|}}</ul> | |||
|}}<!-- | |||
-->{{#if: {{{mentioned periodicals|}}} | |||
| <p style="font-weight: bold; text-indent: 0; margin-top: 1em;">Mentioned periodicals:</p> | |||
<ul>{{#arraymap:{{{mentioned periodicals|}}}|;|@@|<li>@@</li>|}}</ul> | |||
|}} | |||
</td></tr> | |||
</table> | |||
}}<!-- | |||
--><references/><!-- | --><references/><!-- | ||
--><div style="border:1px grey solid;background:#f8f8ff;font-size:90%;color:grey;margin-top:2em;padding:0 5px;"><!-- | --><div style="border:1px grey solid;background:#f8f8ff;font-size:90%;color:grey;margin-top:2em;padding:0 5px;"><!-- | ||