Difference between revisions of "Template:Bouillet"

From blackwiki
Jump to navigation Jump to search
imported>PBS
(simplify lead in if statements)
imported>PBS
(make this a wrapper around template:cite Bouillet)
Line 14: Line 14:
 
             -->&nbsp;incorporates text from a publication now in the [[public domain]]:&nbsp;<!--
 
             -->&nbsp;incorporates text from a publication now in the [[public domain]]:&nbsp;<!--
 
-->}}<!--
 
-->}}<!--
-->{{cite encyclopedia|
+
-->{{cite Bouillet|
 +
    |noicon=1
 
     |{{#if:{{{1|}}}      |1      |HIDE_PARAMETER0}}={{{1|}}}
 
     |{{#if:{{{1|}}}      |1      |HIDE_PARAMETER0}}={{{1|}}}
 
     |{{#if:{{{first|}}}  |first  |HIDE_PARAMETER1}}={{{first|}}}
 
     |{{#if:{{{first|}}}  |first  |HIDE_PARAMETER1}}={{{first|}}}
Line 32: Line 33:
 
     |{{#if:{{{display-authors|}}} |display-authors |HIDE_PARAMETER12}}={{{display-authors|}}}
 
     |{{#if:{{{display-authors|}}} |display-authors |HIDE_PARAMETER12}}={{{display-authors|}}}
  
    |encyclopedia={{{encyclopedia|[[Dictionnaire Bouillet]]}}}
 
<!-- if the editors are known then replace with something like this:
 
    | editor-last = {{{editor-last|Smith}}}
 
    | editor-first = {{{editor-first|William}}}
 
-->
 
    |{{#if:{{{editor-last|}}}  |editor-last  |HIDE_PARAMETER13}}={{{editor-last|}}}
 
    |{{#if:{{{editor-first|}}}  |editor-first  |HIDE_PARAMETER14}}={{{editor-first|}}}
 
    |{{#if:{{{editor-link|}}}  |editor-link  |HIDE_PARAMETER15}}={{{editor-link|}}}
 
    |{{#if:{{{editor2-last|}}}  |editor2-last  |HIDE_PARAMETER16}}={{{editor2-last|}}}
 
    |{{#if:{{{editor2-first|}}} |editor2-first |HIDE_PARAMETER17}}={{{editor2-first|}}}
 
    |{{#if:{{{editor2-link|}}}  |editor2-link  |HIDE_PARAMETER18}}={{{editor2-link|}}}
 
  
     | title= {{#if: {{{wstitle|}}}|<!--then-->[[wikisource:fr:Dictionnaire universel d’histoire et de géographie Bouillet Chassang/Index alphabétique - {{{wstitle|}}}|{{{wstitle|}}}]]
+
     |{{#if:{{{encyclopedia|}}}   |encyclopedia  |HIDE_PARAMETER13}}={{{encyclopedia|}}}
    |<!-- else -->
 
      {{#if: {{{title|}}}|<!--then-->{{{title|}}}
 
        |<!--else--><sup>[[wikisource:fr:Dictionnaire universel d’histoire et de géographie Bouillet Chassang|<span style="color:red">article name needed</span>]]</sup>
 
      }}<!--end title-->
 
    }}<!--end of check wstitle-->
 
  
     |{{#if:{{{edition|}}} |edition |HIDE_PARAMETER19}}={{{edition|}}}
+
    |{{#if:{{{editor-last|}}}  |editor-last  |HIDE_PARAMETER14}}={{{editor-last|}}}
     |{{#if:{{{year|}}}    |year    |HIDE_PARAMETER20}}={{{year|}}}
+
    |{{#if:{{{editor-first|}}}  |editor-first  |HIDE_PARAMETER15}}={{{editor-first|}}}
     |{{#if:{{{url|}}}    |url    |HIDE_PARAMETER21}}={{{url|}}}
+
    |{{#if:{{{editor-link|}}}  |editor-link  |HIDE_PARAMETER16}}={{{editor-link|}}}
     |{{#if:{{{volume|}}}  |volume  |HIDE_PARAMETER22}}={{{volume|}}}
+
    |{{#if:{{{editor2-last|}}}  |editor2-last  |HIDE_PARAMETER17}}={{{editor2-last|}}}
     |{{#if:{{{page|}}}    |page    |HIDE_PARAMETER23}}={{{page|}}}
+
    |{{#if:{{{editor2-first|}}} |editor2-first |HIDE_PARAMETER18}}={{{editor2-first|}}}
     |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER24}}={{{pages|}}}
+
    |{{#if:{{{editor2-link|}}}  |editor2-link  |HIDE_PARAMETER19}}={{{editor2-link|}}}
     |{{#if:{{{mode|}}}    |mode    |HIDE_PARAMETER25}}={{{mode|}}}
+
 
     | language = {{{language|fr}}}
+
    |{{#if:{{{title|}}}  |title  |HIDE_PARAMETER20}}={{{title|}}}
 +
    |{{#if:{{{wstitle|}}}  |wstitle  |HIDE_PARAMETER21}}={{{wstitle|}}}
 +
    |{{#if:{{{display|}}}  |display  |HIDE_PARAMETER22}}={{{display|}}}
 +
 
 +
     |{{#if:{{{edition|}}} |edition |HIDE_PARAMETER30}}={{{edition|}}}
 +
     |{{#if:{{{year|}}}    |year    |HIDE_PARAMETER31}}={{{year|}}}
 +
     |{{#if:{{{url|}}}    |url    |HIDE_PARAMETER32}}={{{url|}}}
 +
     |{{#if:{{{volume|}}}  |volume  |HIDE_PARAMETER33}}={{{volume|}}}
 +
     |{{#if:{{{page|}}}    |page    |HIDE_PARAMETER34}}={{{page|}}}
 +
     |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER35}}={{{pages|}}}
 +
     |{{#if:{{{mode|}}}    |mode    |HIDE_PARAMETER36}}={{{mode|}}}
 +
     |{{#if:{{{language|}}}|language|HIDE_PARAMETER37}}={{{language|}}}  
 
     | ref = {{{ref|harv}}}
 
     | ref = {{{ref|harv}}}
 
}}<includeonly><!--
 
}}<includeonly><!--

Revision as of 19:27, 29 May 2017

12px This article incorporates text from a publication now in the public domainBouillet, Marie-Nicolas; Chassang, Alexis, eds. (1878). Dictionnaire Bouillet (in French). Missing or empty |title= (help)CS1 maint: ref=harv (link)

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

This template is a wrapper around {{cite encyclopedia}} see its documentation for more on the standard parameters described here.

Usage

None standard parameters:

|noicon=y – then no icon is shown
|no-prescript=y — then no prescript is shown
|inline=y - alter the prescript from "This article..." to "One or more of the preceding sentences..."
|wstitle=article name — if set automagically set the standard parameter '
          title to link to the article on French Wikisource

Standard parameter title'

|title=article name – If the non-standard parameter wstitle is set it overrides this value.
                          If neither title or wstitle are set then a red warning string is displayed.

Standard parameters that are pre-set but can be altered:

|encyclopedia=Dictionnaire Bouillet — see Help:CS1
|ref =harv  — see Help:CS1
|language=fr


Standard parameters that can be set with no default settings:

|first — see Help:CS1
|first1 — see Help:CS1
|first2 — see Help:CS1
|last — see Help:CS1
|last1 — see Help:CS1
|last2 — see Help:CS1
|author — see Help:CS1
|author1 — see Help:CS1
|author2 — see Help:CS1
|author-link — see Help:CS1
|display-authors — see Help:CS1
|editor-last — see Help:CS1
|editor-first — see Help:CS1
|editor-link — see Help:CS1
|editor2-last — see Help:CS1
|editor2-first — see Help:CS1
|editor2-link — see Help:CS1
|edition — see Help:CS1
|year — see Help:CS1
|url — see Help:CS1
|volume — see Help:CS1
|page — see Help:CS1
|pages — see Help:CS1
|mode — see Help:CS1

Hidden maintenance categories