Difference between revisions of "Template:Show license"
(Created page with "<noinclude> </noinclude><includeonly><onlyinclude>{{#if: {{#show: {{PAGENAME}}|?license}}|License: {{#show: {{PAGENAME}}|?license}}}}</onlyinclude></includeonly>") |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | </noinclude><includeonly><onlyinclude>{{#if: {{#show: {{PAGENAME}}|?license}}| | + | Usage: <nowiki>{{</nowiki>show license|''page''=<nowiki>{{PAGENAME}}</nowiki>}} |
+ | |||
+ | This template shows a short string "License: %s." where %s is either the license property for a given page, or "No licensing information available" if the license property has not been set. | ||
+ | |||
+ | </noinclude><includeonly><onlyinclude>License: {{#if: {{#show: {{{page|{{PAGENAME}}}}}|?license}}|{{#show: {{{page|{{PAGENAME}}}}}|?license}}|No licensing information available}}.</onlyinclude></includeonly> |
Revision as of 09:55, 7 July 2011
Usage: {{show license|page={{PAGENAME}}}}
This template shows a short string "License: %s." where %s is either the license property for a given page, or "No licensing information available" if the license property has not been set.