Difference between revisions of "Template:Bouillet"
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-->}}} |<!-- | + | -->{{#if: {{{noicon|{{{no-icon|}}}<!--noicon-->}}}|<!--do nothing |
| − | + | -->|<!--else-->{{#if: {{{wstitle|}}}|[[File:Wikisource-logo.svg|12px|alt=]] <!-- | |
| − | + | -->|[[File:PD-icon.svg|12px|alt=]] <!-- | |
| − | + | -->}}<!--no white space | |
| − | + | -->}} | |
| − | |||
| − | |||
| − | |||
| − | |||
}}<!--Sort out the lead string | }}<!--Sort out the lead string | ||
| − | -->{{# | + | -->{{#if: {{{no-prescript|}}} |<!--do nothing |
| − | + | -->|<!--else-->{{#if: {{{inline|}}}|<!--then display-->One or more of the preceding sentences<!-- | |
| − | + | -->|<!--else display-->This article<!-- | |
| − | + | -->}}<!-- | |
| − | + | --> incorporates text from a publication now in the [[public domain]]: <!-- | |
| − | + | -->}}<!-- | |
| − | |||
-->{{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)
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
| The above documentation is transcluded from Template:Bouillet/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |