Template:Artist: Difference between revisions

From JanWiki
Jump to navigation Jump to search
(forgot a hook)
(propertized name)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
This template provides the artist's page. It takes the official name of the artist as a single parameter. If the name is omitted, the pagename is assumed to be the artist's official name.
This template provides the artist's page. It takes the official name of the artist as a single parameter. If the name is omitted, the pagename is assumed to be the artist's official name.
* ''artist'': the artist's official name
* ''artist'': the artist's official name
An invocation will look something like this:
<pre><nowiki>{{Artist
artist=
}}</nowiki></pre>
----
----
</noiclude><includeonly>.
</noinclude><includeonly>{{#vardefine:artist|{{{artist|{{PAGENAME}} }}} }}
{{#vardefine:artist|{{{artist|{{PAGENAME}} }}} }}
==[[Artist::{{#var:artist}}]]==
=={{#var:artist}}==
[[Category:Artist]]
[[Category:Artist]]


{{#ask: [[Artist::{{#var:artist}}]]
{{#ask: [[Category:Album]][[Artist::{{#var:artist}}]]
| format=table
| format=table
| mainlabel=Title
| mainlabel=Title
Line 21: Line 24:
| default=no media from this artist in the wiki yet...
| default=no media from this artist in the wiki yet...
}}
}}
__SHOWFACTBOX__

Latest revision as of 20:59, 5 May 2012

This template provides the artist's page. It takes the official name of the artist as a single parameter. If the name is omitted, the pagename is assumed to be the artist's official name.

  • artist: the artist's official name

An invocation will look something like this:

{{Artist
artist=
}}