Difference between revisions of "Template:Bouillet"

From blackwiki
Jump to navigation Jump to search
imported>PBS
(pass an unnamed parameter through to {{cite encyclopaedia}} for further processing)
imported>PBS
(simplify lead in if statements)
Line 2: Line 2:
 
<!--
 
<!--
 
sort out the icon to use
 
sort out the icon to use
-->{{#if: {{{noicon|{{{no-icon|}}}<!--noicon-->}}} |<!--eq to empty-->
+
-->{{#if: {{{noicon|{{{no-icon|}}}<!--noicon-->}}}|<!--do nothing
    |<!--then-->{{#ifeq: {{{wstitle|{{{wikisource|}}}<!--wst-->}}} |<!--eq to empty-->
+
-->|<!--else-->{{#if: {{{wstitle|}}}|[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;<!--
                |<!--then-->{{#ifeq: {{{1|}}}|<!--eq to empty-->
+
                                  -->|[[File:PD-icon.svg|12px|alt=]]&nbsp;<!--
                              |<!--then-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
+
            -->}}<!--no white space
                              |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
+
-->}}
                            }}
 
                |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
 
                }}
 
  }}
 
 
}}<!--Sort out the lead string
 
}}<!--Sort out the lead string
-->{{#ifeq: {{{no-prescript|}}} |<!--eq to empty-->
+
-->{{#if: {{{no-prescript|}}} |<!--do nothing
    |<!--then display a prescript-->{{#ifeq: {{{inline|{{{footnote|}}}<!--inline-->}}} |<!--eq to empty-->
+
-->|<!--else-->{{#if: {{{inline|}}}|<!--then display-->One or more of the preceding sentences<!--
                                    |<!--then display-->This article
+
                                -->|<!--else display-->This article<!--
                                    |<!--else display-->One or more of the preceding sentences
+
            -->}}<!--
                                    }}<!-- no white space
+
            -->&nbsp;incorporates text from a publication now in the [[public domain]]:&nbsp;<!--
  -->&nbsp;incorporates text from a publication now in the [[public domain]]:&nbsp;
+
-->}}<!--
  }}<!--no white space
 
 
-->{{cite encyclopedia|
 
-->{{cite encyclopedia|
 
     |{{#if:{{{1|}}}      |1      |HIDE_PARAMETER0}}={{{1|}}}
 
     |{{#if:{{{1|}}}      |1      |HIDE_PARAMETER0}}={{{1|}}}

Revision as of 17:10, 27 April 2017

12px This article incorporates text from a publication now in the public domain"article name needed". Dictionnaire Bouillet (in French).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