Template:Article Infobox: Difference between revisions

(Adding padding)
mNo edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|style="border:1px solid #D7D7D7; background:#F5F5F5; width:198px; float:right" rules="rows" cellpadding="10px"
{|style="border:1px solid #ECECEC; background:#F5F5F5; width:198px; float:right; vertical-align:middle;" rules="rows" cellpadding="10px 10px 0px 10px"
!align="left"|{{{1}}}Article Information
!style="text-align:left;"|{{{1}}}Article Information
|-style="background:#F5F5F5;"
|-style="background:#F5F5F5; font-size:11px"
|This article applies to the following ZCS versions.
|This article applies to the following ZCS versions.
{{{2}}}{{{3}}}{{{4}}}|}
{{{2}}}{{{3}}}{{{4}}}|}
Line 9: Line 9:




{{WIP}}
This template exists to provide version information about an article.  The Article Infobox template should be used to notify readers that an article is applicable to specific ZCS versions and that it is intended for a given audience.


<!--
In order to use this template, type the following Wikitext at the bottom of the article you are editing:


CONTAINER BEGIN
<nowiki>{{Article Infobox|</nowiki>''{{{1}}}''<nowiki>|</nowiki>''{{{2}}}''<nowiki>|</nowiki>''{{{3}}}''<nowiki>|</nowiki>''{{{4}}}''<nowiki>}}</nowiki>


--><div class="infobox NavFrame" style="width:198px; margin:5px; padding:0px; border:1px solid #999966; background:#fff; font-size:90%;">
This template has four variables:
<div class="NavHead" style="background:#CCCCCC; padding:0px 10px 0px 0px; border-bottom:1px solid #999966; font-size:110%; text-align:center; margin-bottom:-1px;">'''Article Information'''</div>
<div class="NavContent" style="text-align:center; padding:3px;"><!--


CONTENT BEGIN
*{{{1}}} indicates if an article is intended for end users, administrators, or developers
*{{{2}}} indicates if an article applies to ZCS 6.0
*{{{3}}} indicates if an article applies to ZCS 5.0
*{{{4}}} indicates if an article applies to ZCS 4.5


-->
For example, to apply this template to an article that applies to ZCS 6.0 and 5.0, but not 4.5, use the following Wikitext:
 
This article applies to ZCS versions


[[Image:5.0_template.png]] [[Image:5.0_template.png]] [[Image:4_5_Doc.gif]]
<nowiki>{{Article Infobox|{{admin}}|{{ZCS 6.0}}|{{ZCS 5.0}}|}}</nowiki>
<!--


CONTAINER END
To apply this template to an article that applies to ZCS 6.0, 5.0, and 4.5, use the following Wikitext:


--></div></div>
<nowiki>{{Article Infobox|{{admin}}|{{ZCS 6.0}}|{{ZCS 5.0}}|{{ZCS 4.5}}}}</nowiki>


<!--
To indicate an article is intended for a developer audience rather than an admin audience, use the following Wikitext:


ANOTHER EXPERIMENT W/ PARSER FUNCTIONS & IMAGE LINKING
<nowiki>{{Article Infobox|{{devel}}|{{ZCS 6.0}}|{{ZCS 5.0}}|{{ZCS 4.5}}}}</nowiki>


-->
Similarly, you can indicate an article is intended for end users by using the following Wikitext:
 
 
<!--
 
CONTAINER BEGIN
 
--><div class="infobox NavFrame" style="width:198px; margin:5px; padding:0px; border:1px solid #999966; background:#fff; font-size:90%;">
<div class="NavHead" style="background:#CCCCCC; padding:0px 10px 0px 0px; border-bottom:1px solid #999966; font-size:110%; text-align:center; margin-bottom:-1px;">'''Article Information'''</div>
<div class="NavContent" style="text-align:center; padding:3px;"><!--
 
CONTENT BEGIN
 
-->
 
This article applies to ZCS versions
 
[[Image:{{{1}}}.0_template.png]] [[Image:{{{2}}}.0_template.png]] [[Image:{{{3}}}_5_Doc.gif]]
<!--
 
CONTAINER END
 
--></div></div>
 
 
 
 
This template provides version information about an article.  The Article Infobox template should be used to notify readers that an article is applicable to specific ZCS versions.
 
In order to use this template, type the following Wikitext at the bottom of the article you are editing:
 
<nowiki>{{Article Infobox|</nowiki>''{{{1}}}''<nowiki>|</nowiki>''{{{2}}}''<nowiki>|</nowiki>''{{{3}}}''<nowiki>}}</nowiki>
 
This template has three variables:
 
*{{{1}}} indicates if an article applies to ZCS 6.0
*{{{2}}} indicates if an article applies to ZCS 5.0
*{{{3}}} indicates if an article applies to ZCS 4.5
 
For each variable, type '''y''' or '''n''' to indicate whether the article applies to that ZCS version.
 
For example, to apply this template to an article that applies to ZCS 6.0 and 5.0, but not 4.5, use the following Wikitext:


  <nowiki>{{Article Infobox|y|y|n}}</nowiki>
  <nowiki>{{Article Infobox|{{user}}|{{ZCS 6.0}}|{{ZCS 5.0}}|{{ZCS 4.5}}}}</nowiki>


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 17:28, 24 April 2015

{{{1}}}Article Information
This article applies to the following ZCS versions.

{{{2}}}{{{3}}}{{{4}}}|}



This template exists to provide version information about an article. The Article Infobox template should be used to notify readers that an article is applicable to specific ZCS versions and that it is intended for a given audience.

In order to use this template, type the following Wikitext at the bottom of the article you are editing:

{{Article Infobox|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}

This template has four variables:

  • {{{1}}} indicates if an article is intended for end users, administrators, or developers
  • {{{2}}} indicates if an article applies to ZCS 6.0
  • {{{3}}} indicates if an article applies to ZCS 5.0
  • {{{4}}} indicates if an article applies to ZCS 4.5

For example, to apply this template to an article that applies to ZCS 6.0 and 5.0, but not 4.5, use the following Wikitext:

{{Article Infobox|{{admin}}|{{ZCS 6.0}}|{{ZCS 5.0}}|}}

To apply this template to an article that applies to ZCS 6.0, 5.0, and 4.5, use the following Wikitext:

{{Article Infobox|{{admin}}|{{ZCS 6.0}}|{{ZCS 5.0}}|{{ZCS 4.5}}}}

To indicate an article is intended for a developer audience rather than an admin audience, use the following Wikitext:

{{Article Infobox|{{devel}}|{{ZCS 6.0}}|{{ZCS 5.0}}|{{ZCS 4.5}}}}

Similarly, you can indicate an article is intended for end users by using the following Wikitext:

{{Article Infobox|{{user}}|{{ZCS 6.0}}|{{ZCS 5.0}}|{{ZCS 4.5}}}}
Jump to: navigation, search