Template:CollectionsBox: Difference between revisions

No edit summary
(Don't show "text and translation" section any more)
Line 1: Line 1:
{| class="collectionsbox" |
{| class="collectionsbox" |
{{#if: {{{editor|}}} |
! Text and translation
{{!}} [[Author::{{{editor}}}]]
{{!}}-}}


{{#if: {{{guides|}}} |
{{#if: {{{guides|}}} |
Line 12: Line 7:


|}
|}
{{#if: {{{editor|}}} | {{#set:Author={{{editor}}} }}
<noinclude>
<noinclude>
== Example ==
== Example ==
Line 40: Line 38:


This also sets the 'author' property for the translator, which is used for citation purposes.
This also sets the 'author' property for the translator, which is used for citation purposes.
The 'editor' parameter sets the 'author' property for the translator, which is used for citation purposes. It used to also be printed in this box, but that has been replaced by Template:GuideTextsBy.


== See also ==
== See also ==

Revision as of 09:51, 21 January 2014

{{#if: |


Example

{{CollectionsBox
|editor=Barbara Graziosi
|guides=[[Guide to Hesiod|Hesiod]], [[Guide to Homer|Homer]]
}}


Becomes:

Relevant guides Hesiod, Homer

{{#if: Barbara Graziosi |


Parameters

All of the parameters are optional.

editor
Name of the person(s) who edited the text and wrote the translation.
guides
Comma separated list links to guides that reference the text.

Note

This also sets the 'author' property for the translator, which is used for citation purposes.

The 'editor' parameter sets the 'author' property for the translator, which is used for citation purposes. It used to also be printed in this box, but that has been replaced by Template:GuideTextsBy.

See also

Template:CollectionsBoxNoTranslation