Jump to content

Template talk:Citation Style documentation/date

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Despite reading the link at Template_talk:Citation/core#treatment_of_origyear_parameter give in the edit summary, I still don't understand why origyear is indented in the documentation. Even if "origyear does not show if date/year not defined", it seems to me that origyear should be unindented with a note added to its description that it doesn't show if date and year are not defined. Under the current indenting scheme, it seems that origyear should only be used if date is not used. Jason Quinn (talk) 04:37, 13 September 2012 (UTC)[reply]

But origyear does not show if date or year are not defined:
Markup Renders as
{{cite book |last=White |first=T. H. |title=The Book of Merlyn |year=1977 |origyear=1941}}

White, T. H. (1977) [1941]. The Book of Merlyn.

{{cite book |last=White |first=T. H. |title=The Book of Merlyn |origyear=1941}}

White, T. H. The Book of Merlyn.

The introductory syntax section, explains the parent/child scheme:

Nested parameters rely on their parent parameters:

  • parent
  • OR: parent2—may be used instead of parent
    • child—may be used with parent (and is ignored if parent is not used)
    • OR: child2—may be used instead of child (and is ignored if parent2 is not used)
Where aliases are listed, only one of the parameters may be defined; if multiple aliased parameters are defined, then only one will show.
The only time "does not display" is used in the documentation is where the fields are controlled by a parameter outside that module of the documentation. ---— Gadget850 (Ed) talk 09:49, 13 September 2012 (UTC)[reply]
I added the info. from Help talk:Citation Style 1 for more clarity. -- -- -- 03:13, 4 April 2013 (UTC)[reply]