Difference between revisions of "Template:FeaturedArticle"

From Detective Conan Wiki
(Created page with "<includeonly>{| align="center" style="border: 1px solid #88a; background-color:#f8f8ff; padding: 0.5em; " |- | [[File:Detective boys badge2.png|80px|{{PAGENAME}} is a featured...")
 
(Error message for future reference)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
| [[File:Detective boys badge2.png|80px|{{PAGENAME}} is a featured article]]
 
| [[File:Detective boys badge2.png|80px|{{PAGENAME}} is a featured article]]
| This article is about a [[Detective Conan Wiki:Featured articles|featured article]] on Detective Conan Wiki, This was featured on the {{{1}}}
+
| This is a [[Detective Conan Wiki:Featured articles|featured article]] on the Detective Conan Wiki. This article was featured on {{{1}}}
 
|}
 
|}
Category:Featured articles</includeonly>
+
[[Category:Featured articles]]</includeonly>
 
<noinclude>
 
<noinclude>
This is [[Detective Conan Wiki:Featured articles|the featured article]] template shown on the pages themselves.  
+
Displays a [[Detective Conan Wiki:Featured articles| featured article]] template to be shown on the articles.  
the {{{1}}} should be replaced by the date that it was featured. For example:
+
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>''
  
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:

FeaturedArticle is a featured article This is a featured article on the Detective Conan Wiki. This article was featured on January 29, 2013