Jump to content

Template:Self

From Wikibooks, open books for an open world

This template supports the inclusion of up to six license template.

Variable Effect
|author= The name of the author, can be a wikilink to a User page as well (optional parameter; note that it changes the template text to refer to author in the third person)
|authors= A comma delimited list of authors (individual names can be wikilinked) or a wikilink to a book's Authors page, typically piped to display as 'We' or 'The {{BOOKNAME}} Contributors' (optional, changes the template text to refer to authors in the plural form)

|1= Name of first license template

|2=, |3=,
|4=, |5=,
|6=
Name of other license templates (optional)

Examples

[edit source]
Code Effect
{{Self|Cc-by-sa-3.0}}

{{Self|GFDL|Cc-by-sa-2.5,2.0,1.0}}

{{Self|GFDL|Cc-by-sa-2.5,2.0,1.0|author=Person}}
{{Self|GFDL-1.1-plus|author=[[User:Example|Example Q. User]]}}

{{Self|GFDL|authors=[[Buddhist Philosophy/Authors|We]]}}

TemplateData

[edit source]

Displays a box declaring the licensing terms of the page as declared by the autor(s)

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
License1

Name of first license template to display, without the 'Template:' prefix

Example
Cc-by-sa-4.0
Page namerequired
Authorauthor

The name of the page/book author, optionally wikilinked to their User page

Example
[[User:Example|Example Q. User]]
Lineoptional
Authors namesauthors

Either a comma delimited list of (optionally wikilinked) contributors, or a piped wikilink to a page with a list of authors with the link text set to 'We' or 'The {{BOOKNAME}} Contributors'

Example
[[Example book/Authors|We]]
Lineoptional
Disable categorizationexample

The license templates transcluded by this template automatically add a page to the category for content using that license. If this template is only being called to show an output sample, set this parameter to 'yes' to disable that behavior.

Default
no
Example
yes
Booleanoptional
License 22

Name of second license template to display, without the 'Template:' prefix

Example
GFDL-1.1-plus
Page nameoptional
License 33

Name of third license template to display, without the 'Template:' prefix

Example
Cc-by-sa-3.0
Page nameoptional
License 44

Name of fourth license template to display, without the 'Template:' prefix

Example
Cc-by-sa-2.5
Page nameoptional
License 55

Name of fifth license template to display, without the 'Template:' prefix

Example
Cc-by-sa-2.0
Page nameoptional
License 66

Name of sixth license template to display, without the 'Template:' prefix

Example
Cc-by-sa-3.0,2.5,2.0,1.0
Page nameoptional