Difference between revisions of "Template:Cite LarousseXIXe"

From blackwiki
Jump to navigation Jump to search
imported>PBS
imported>Trappist the monk
(sync from sandbox;)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{noicon|}}}|<!--empty-->|
+
{{#if:{{{no-icon|{{{noicon|}}}}}}||{{#ifeq: {{{wstitle|}}}||[[File:PD-icon.svg|12px|alt=|link=]]&nbsp;}}}}<!-- optional public domain icon when wstitle is missing or empty --><!--
  <!--else-->{{#ifeq: {{{wstitle|}}}|<!--eq to empty-->|
 
              <!--then-->[[File:PD-icon.svg|12px|alt=|link=]]&nbsp;
 
              |<!--else-->[[File:Wikisource-logo.svg|12px|alt=|link=]]&nbsp;}}<!--endif
 
-->}}<!--
 
 
  optional verbatim message - not included by default
 
  optional verbatim message - not included by default
-->{{#if:{{{vb|}}}|{{#ifeq: {{{inline|}}} |<!--eq to empty-->|<!--
+
-->{{#if:{{{vb|}}}|{{#ifeq:{{{inline|}}}|<!--eq to empty-->|This article|One or more of the preceding sentences}}&#32;incorporates text from a publication now in the [[public domain]]:&nbsp;}}<!--
                      then display-->This article
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=citation
                      |<!--else display-->One or more of the preceding sentences
+
  |_exclude=display, inline, no-icon, noicon, wstitle, vb, _debug
                    }}<!--
+
  |_reuse=title, volume <!-- these are reused -->
                    -->incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
+
 
-->{{Citation
 
| first={{{first|}}}
 
| last= {{{last|}}}
 
 
  | editor-first= {{#if: {{{volume|}}} | {{#ifexpr: {{{volume}}} < 13  | {{{editor-first|Pierre}}} }}|{{{editor-first|}}} }}
 
  | editor-first= {{#if: {{{volume|}}} | {{#ifexpr: {{{volume}}} < 13  | {{{editor-first|Pierre}}} }}|{{{editor-first|}}} }}
 
  | editor-last= {{#if: {{{volume|}}} | {{#ifexpr: {{{volume}}} < 13  | {{{editor-last|Larousse}}} }}|{{{editor-last|}}} }}
 
  | editor-last= {{#if: {{{volume|}}} | {{#ifexpr: {{{volume}}} < 13  | {{{editor-last|Larousse}}} }}|{{{editor-last|}}} }}
  | title       ={{#if: {{{wstitle|}}}|<!--then-->[[s:fr:Grand dictionnaire universel du XIXe siècle/{{{wstitle|}}}|{{{display|{{{wstitle|}}}<!-- -->}}}]]
+
 
    |<!-- else -->
+
  |title={{#if:{{{title|}}}|{{{title}}}|{{#if:{{{wstitle|}}}|{{cite wikisource/make link
      {{#if: {{{title|}}}|<!--then-->{{{title|}}}
+
            |language=fr
        |<!--else--><sup>[[s:fr:Grand dictionnaire universel du XIXe siècle|<span style="color:red">article name needed</span>]]</sup>
+
            |link=Grand dictionnaire universel du XIXe siècle/{{{wstitle|}}}
      }}<!--end title-->
+
            |anchor=
    }}<!--end of check wstitle-->
+
            |label={{{display|{{{wstitle|}}}}}}
 +
            |noicon={{{no-icon|{{{noicon|}}}}}}
 +
          }}}}}}
 +
 
 
  | encyclopedia = [[Grand dictionnaire universel du XIXe siècle]]
 
  | encyclopedia = [[Grand dictionnaire universel du XIXe siècle]]
 
  | location = Paris  
 
  | location = Paris  
Line 29: Line 25:
 
               #default = {{{volume|}}}
 
               #default = {{{volume|}}}
 
             }}
 
             }}
  | year = {{#switch:{{{volume|}}}
+
  |date={{#switch:{{{volume|}}}
 
           |1      =1866
 
           |1      =1866
 
           |2 |3  =1867
 
           |2 |3  =1867
Line 42: Line 38:
 
           |#default=1866–77
 
           |#default=1866–77
 
           }}
 
           }}
| page =  {{{page|}}}
 
| pages = {{{pages|}}}
 
| ref=    {{{ref|harv}}}
 
|separator ={{{separator|}}}
 
|postscript={{{postscript|}}}
 
 
}}<includeonly>{{#ifeq: {{NAMESPACEE}} |<!--is set-->|<!--then--
 
}}<includeonly>{{#ifeq: {{NAMESPACEE}} |<!--is set-->|<!--then--
 
-->[[Category:Wikipedia articles incorporating a citation from LarousseXIXe]]}}<!--
 
-->[[Category:Wikipedia articles incorporating a citation from LarousseXIXe]]}}<!--

Latest revision as of 22:17, 27 July 2020

 Grand dictionnaire universel du XIXe siècle, Paris: Pierre Larousse, 1866–77 Missing or empty |title= (help)

Template documentation[view] [edit] [history] [purge]

Usage

The parameters that are set by default:

editor-first=Pierre — if the volume number is less than 13, otherwise not set
editor-last=Larousse]] — if the volume number is less than 13, otherwise not set
location=Paris 
publisher=Pierre Larousse  
encyclopedia=Grand dictionnaire universel du XIXe siècle
year — if volume not set the defaults to 1866–77

The additional parameters that can be set are:

noicon=1 — no leading icon
first=author first name — see {{citation}}
last=author last name — see {{citation}}
volume=number — see {{citation}}
title=article name — see {{citation}}
url=url — only set if title is set
wstitle=article name — not set by default, but if set then adds
        sister link to French wikisource
display= — can be used with wstitle to display an alternative name
page=number — see {{citation}}
pages=number — see {{citation}}
ref= — set by default to harv  — see {{citation}} and ([[#CITEREF|]])
separator= — see {{citation}}
postscript= — see {{citation}}

Hidden catogories

This template contains a hidden category:

See also