Difference between revisions of "Template:Cite Mullié"

From blackwiki
Jump to navigation Jump to search
imported>PBS
(update to handle three different B pages)
imported>PBS
(Added a display parameter)
Line 23: Line 23:
 
**Othewise it is before O and BONEPARTE so prepend "/B#"
 
**Othewise it is before O and BONEPARTE so prepend "/B#"
 
-->
 
-->
|title={{#if: {{{title|}}}|{{{title|}}}
+
|title={{#if: {{{title|}}}|{{{display|{{{title|}}}<!---->}}}
 
           |{{#if: {{{wstitle|}}}|[[s:fr:Biographie des célébrités militaires des armées de terre et de mer de 1789 à 1850/{{#ifeq:{{Str left|{{{wstitle|}}} }}|B
 
           |{{#if: {{{wstitle|}}}|[[s:fr:Biographie des célébrités militaires des armées de terre et de mer de 1789 à 1850/{{#ifeq:{{Str left|{{{wstitle|}}} }}|B
 
                       |{{#switch:{{str letter/trim|{{{wstitle|}}} }}
 
                       |{{#switch:{{str letter/trim|{{{wstitle|}}} }}
Line 39: Line 39:
 
                       }}
 
                       }}
 
                       |{{Str left|{{{wstitle|}}} }}  
 
                       |{{Str left|{{{wstitle|}}} }}  
             }}#{{{wstitle|}}}|{{{wstitle|}}}]]
+
             }}#{{{wstitle|}}}|{{{display|{{{wstitle|}}}<!---->}}}]]
 
           |[[s:fr:Biographie des célébrités militaires des armées de terre et de mer de 1789 à 1850|<sup><span style="color:red">article name needed]]</span></sup>
 
           |[[s:fr:Biographie des célébrités militaires des armées de terre et de mer de 1789 à 1850|<sup><span style="color:red">article name needed]]</span></sup>
 
           }}
 
           }}

Revision as of 08:17, 25 May 2017

Mullié, Charles (1852). "article name needed". Biographie des célébrités militaires des armées de terre et de mer de 1789 à 1850  (in French).

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

This template simplifies linking to articles in the Biographie des célébrités militaires des armées de terre et de mer de 1789 à 1850 a French book of biographies written by Charles Mullié and published in 1852

This template is a wrapper around {{cite encyclopedia}} see Help:CS1 for details of that standard template. This template includes a limited set of parameters supported by CS1. However any of the standard parameters can be added easily into this template if required.

Usage

These parameters are pre-set

|last=Mullié
|first=Charles
|year=1852
|encyclopedia= — set to link to the instance of the article name on Wikisource:
                 Biographie des célébrités militaires des armées de terre et de mer de 1789 à 1850
|language=fr — can be changed

One of these two parameters must be set:

|title=name — article name in the biography. if neither "title" or "wstitle" is set 
                  then a red waning message is displayed requesting an article name
|wstitle=name – link to the article name in wikisource

In addition to the two title parameters there is a display parameter that obfuscates the article name with one that may be more acceptable to the MOS (e.g. MOS:ALLCAPS). At the moment the articles on the French Wikisource to which that template links tend to have all upper case surnames, so the display variable can be used to present the name in upper and lower case e.g. wstitle=MASSÉNA (ANDRE) |display=Masséna (Andre)

|display=name

Optional parameters see Help:CS1

|volume=
|page=
|pages=
|ref=
|mode=

Examples

Linking to an article on Wikisource:

Linking to an article on Wikisource and including page numbers:

Linking to an article on Wikisource and including page numbers, and a display parameter: