Template:Path item: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This template creates | <noinclude>This template creates a line in table of contents for ''[[Path, The|The Path]]'' magazine. | ||
{| | {{Style P-No indent|It creates semantic subobject with the following properties:}} | ||
|- | * {{p|Path item ID}} | ||
| To copy: | * {{p|Path item volume}} | ||
<pre> | * {{p|Path item number}} | ||
{{ Path item | * {{p|Path item month}} | ||
* {{p|Path item year}} | |||
* {{p|Path item page}} | |||
* {{p|Path item title}} | |||
* {{p|Path item author}} -- list | |||
* {{p|Path item author signed}} -- list | |||
* {{p|Path item comment}} | |||
* {{p|Path item type}} | |||
* {{p|Path item links to text}} -- list | |||
* {{p|Path item in Russian}} -- list | |||
Lists have “;” as separator. | |||
{{Style P-No indent|'''Related templates:'''}} | |||
* {{t|Path volume}} – a header for one volume, which consists of 12 numbers | |||
* {{t|Path number}} – a header for one number, which consists of several items | |||
* {{t|Path item}} – one item, which could be an article, review, report, and so on | |||
{{Style P-No indent|'''To copy:'''}} | |||
<pre>{{Path item | |||
| id = | | id = | ||
| volume = | | volume = | ||
| number = | | number = | ||
| month = | | month = | ||
| year = | |||
| page = | | page = | ||
| title = | | title = | ||
Line 21: | Line 39: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category: Templates]] | [[Category: Templates]] | ||
[[Category: Templates for periodicals]] | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
|- valign=top | |- valign=top | ||
| | | vol. {{{volume|}}}, no. {{{number|}}}, {{{month|}}}, {{{year|}}}, p. {{{page|}}} | ||
<p style="text-indent: 0; font-size: 80%; color: grey;">ID: {{{id|}}}</p> | <p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">ID: {{{id|}}}</p> | ||
| {{{ | |||
| {{{title|}}} | |||
<p style="text-indent: 0; line-height: 110%; font-size: 80%; color: grey;">{{#if: {{{type|}}}|({{{type}}}) <br>|}}<!-- | |||
-->{{#if: {{{links to text|}}}|Read at: <span class="plainlinks">{{{links to text}}}</span>|}}<!-- | |||
-->{{#if: {{{ | -->{{#if: {{{in russian|}}}|Russian: <span class="plainlinks">{{{in russian}}}</span>|}}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{comment|}}}|<br>{{{comment}}}|}} | ||
-->{{# | </p> | ||
</includeonly> | |||
| {{{author|}}} | |||
{{#if: {{{author signed|}}}|<p style="text-indent: 0; color: grey;">{{{author signed}}}</p>|}} | |||
<!-- | |||
set SUBOBJECT with semantic properties --> | |||
{{#subobject: Path item {{{id|}}} | |||
| Path item ID ={{{id|}}} | |||
| Path item volume ={{{volume|}}} | |||
| Path item number ={{{number|}}} | |||
| Path item month ={{{month|}}} | |||
| Path item year ={{{year|}}} | |||
| Path item page ={{{page|}}} | |||
| Path item title ={{{title|}}} | |||
| Path item author ={{{author|}}}|+sep=; | |||
| Path item author signed ={{{author signed|}}}|+sep=; | |||
| Path item comment={{{comment|}}} | |||
| Path item type ={{{type|}}} | |||
| Path item links to text ={{{links to text|}}}|+sep=; | |||
| Path item in Russian ={{{in russian|}}}|+sep=; | |||
}}</includeonly> |
Latest revision as of 07:35, 14 November 2024
This template creates a line in table of contents for The Path magazine.
It creates semantic subobject with the following properties:
- [[Path item ID]]
- [[Path item volume]]
- [[Path item number]]
- [[Path item month]]
- [[Path item year]]
- [[Path item page]]
- [[Path item title]]
- [[Path item author]] -- list
- [[Path item author signed]] -- list
- [[Path item comment]]
- [[Path item type]]
- [[Path item links to text]] -- list
- [[Path item in Russian]] -- list
Lists have “;” as separator.
Related templates:
- {{Path volume}} – a header for one volume, which consists of 12 numbers
- {{Path number}} – a header for one number, which consists of several items
- {{Path item}} – one item, which could be an article, review, report, and so on
To copy:
{{Path item | id = | volume = | number = | month = | year = | page = | title = | author = | author signed = | comment = | type = | links to text = | in russian = }}