Jump to content

Template:Attribution: Difference between revisions

From Joepedia
No edit summary
No edit summary
Line 4: Line 4:
   <nowiki>{{Attribution|Joseph Anderson}}</nowiki>
   <nowiki>{{Attribution|Joseph Anderson}}</nowiki>
{{Attribution|Joseph Anderson}}
{{Attribution|Joseph Anderson}}
Using
  <nowiki>{{Attribution|Joseph Anderson|categorise=true}}</nowiki>
Would place this article into a category "By Joseph Anderson", making it easy to find works by them.


== Template Data ==
== Template Data ==
Line 23: Line 27:
"categorise": {
"categorise": {
"label": "Categorise",
"label": "Categorise",
"description": "If this should add the page to the \"By {{{1}}}\" category, use if this is the page for the work being discussed.",
"description": "If this should add the page to the “By {{{1}}}category, use if this is the page for the work being discussed.",
"type": "boolean",
"type": "boolean",
"default": "false",
"default": "false",
Line 32: Line 36:
}
}
},
},
"description": "Attribute something to someone.",
"description": "Attribute something to someone, using the optional “categorise” flag lets you easily add categories for things people have made.",
"paramOrder": [
"paramOrder": [
"1",
"1",

Revision as of 17:35, 21 January 2025

by [[{{{1}}}|{{{1}}}]]

Example

E.g:

 {{Attribution|Joseph Anderson}}

by Joseph Anderson

Using

 {{Attribution|Joseph Anderson|categorise=true}}

Would place this article into a category "By Joseph Anderson", making it easy to find works by them.

Template Data

Attribute something to someone, using the optional “categorise” flag lets you easily add categories for things people have made.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Creator1 by creator name artist

The name of the person who made the thing being attributed.

Stringrequired
Categorisecategorise category categorize

If this should add the page to the “By {{{1}}}” category, use if this is the page for the work being discussed.

Default
false
Booleanoptional