Difference between revisions of "Template:FeaturedArticle"
From Detective Conan Wiki
(Testing template change.) |
(Error message for future reference) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{| align="center" style="border: 1px solid #88a; background-color:#f8f8ff; padding: 0.5em; " |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| [[File:Detective boys badge2.png|80px|{{PAGENAME}} is a featured article]] | | [[File:Detective boys badge2.png|80px|{{PAGENAME}} is a featured article]] | ||
Line 17: | Line 5: | ||
|} | |} | ||
[[Category:Featured articles]]</includeonly> | [[Category:Featured articles]]</includeonly> | ||
− | |||
<noinclude> | <noinclude> | ||
Displays a [[Detective Conan Wiki:Featured articles| featured article]] template to be shown on the articles. | Displays a [[Detective Conan Wiki:Featured articles| featured article]] template to be shown on the articles. | ||
− | + | An extra parameter is required to represent date that it was featured. For example: | |
* ''<nowiki>{{FeaturedArticle|January 29, 2013}}</nowiki>'' | * ''<nowiki>{{FeaturedArticle|January 29, 2013}}</nowiki>'' | ||
This should give: | This should give: | ||
− | {{FeaturedArticle|January 29, 2013}} | + | {{FeaturedArticle|January 29, 2013}} |
[[Category:Templates]] </noinclude> | [[Category:Templates]] </noinclude> | ||
+ | <!-- | ||
+ | {{top icon | ||
+ | | imagename = {{{image|Featured icon.png}}} | ||
+ | | wikilink = Detective Conan Wiki:Featured articles | ||
+ | | description = This is a featured article. Click here for more information. | ||
+ | | id = Featured-icon | ||
+ | | icon_nr = {{{icon_nr|{{{number|0}}}}}} | ||
+ | | extra_offset = {{{extra_offset|{{{offset|0}}}}}} | ||
+ | | width = {{{width|24}}} | ||
+ | | style = margin-top:34px; right:12px; {{{style|}}} | ||
+ | }}<includeonly>[[Category:Featured articles]] | ||
+ | |||
+ | Edit Error: This top icon cannot be used outside of the User, Template, or User talk namespaces. | ||
+ | --> |
Latest revision as of 20:13, 18 May 2013
Displays a featured article template to be shown on the articles.
An extra parameter is required to represent date that it was featured. For example:
- {{FeaturedArticle|January 29, 2013}}
This should give:
This is a featured article on the Detective Conan Wiki. This article was featured on January 29, 2013 |