Difference between revisions of "Template:Article alerts columns"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jerem43
(Add variable for font size. If this messes this up, please feel free to revert ASAP.)
blackwiki>Jerem43
(Create documentation)
Line 2: Line 2:
 
{{#if:{{{1|}}}|{{#ifexist:{{{1|Article alerts}}}|{{div col|cols={{{cols|3}}}|style=font-size:{{{font-size|85%}}}}}{{{{{1}}}}}{{div col end}}|Article alerts not yet available. Please allow some days for processing.}}|{{#ifexist:{{#rel2abs:/Article alerts}}|{{div col|cols={{{cols|3}}}|style=font-size:{{{font-size|85%}}}}}{{/Article alerts}}{{div col end}}|Article alerts not yet available. Please allow some days for processing.}}}}
 
{{#if:{{{1|}}}|{{#ifexist:{{{1|Article alerts}}}|{{div col|cols={{{cols|3}}}|style=font-size:{{{font-size|85%}}}}}{{{{{1}}}}}{{div col end}}|Article alerts not yet available. Please allow some days for processing.}}|{{#ifexist:{{#rel2abs:/Article alerts}}|{{div col|cols={{{cols|3}}}|style=font-size:{{{font-size|85%}}}}}{{/Article alerts}}{{div col end}}|Article alerts not yet available. Please allow some days for processing.}}}}
 
<div style="text-align:center; background-color:#EEEEEE">Updated daily by [[User:AAlertBot/UP|AAlertBot]] — [[Wikipedia talk:Article alerts|Discuss?]] / [[Wikipedia talk:Article alerts/Bugs|Report bug?]] / [[Wikipedia talk:Article alerts/Feature requests|Request feature?]]</div><noinclude>
 
<div style="text-align:center; background-color:#EEEEEE">Updated daily by [[User:AAlertBot/UP|AAlertBot]] — [[Wikipedia talk:Article alerts|Discuss?]] / [[Wikipedia talk:Article alerts/Bugs|Report bug?]] / [[Wikipedia talk:Article alerts/Feature requests|Request feature?]]</div><noinclude>
[[WP:WPVG|Video games]] example:
+
{{documentation}}
 
 
{{Article alerts columns|Wikipedia:WikiProject Video games/Article alerts}}
 
 
 
 
[[Category:Wikipedia article alerts|Τ]]</noinclude>
 
[[Category:Wikipedia article alerts|Τ]]</noinclude>

Revision as of 22:42, 24 September 2013

Article alerts

Article alerts not yet available. Please allow some days for processing.

Updated daily by AAlertBotDiscuss? / Report bug? / Request feature?
Template documentation[view] [edit] [history] [purge]

This template is used to format the output of the ArticleAlerts bot into multiple columns. It is designed to transclude the published alerts from the Project page/Article alerts page and reformat them on in three columns on a separate page.

Usage

Place the {{Article alerts columns}} template on the page you wish to transclude the results to.

Syntax

{{Article alerts columns
 |colwidth  = <!-- Adjusts the number of columns, defaults to 25em -->
 |font-size = <!-- Adjusts the font size, default is 85% -->
}}

Examples

Basic-

(using Video games as an example)

{{Article alerts columns|Wikipedia:WikiProject Video games/Article alerts}}

Will generate:

Article alerts not yet available. Please allow some days for processing.

Columns-

(using Video games as an example)

{{Article alerts columns|Wikipedia:WikiProject Video games/Article alerts|colwidth=15em}}

Will generate:

Article alerts not yet available. Please allow some days for processing.

Font sizing-

(using Video games as an example)

{{Article alerts columns|Wikipedia:WikiProject Video games/Article alerts|font-size=75%}}

Will generate:

Article alerts not yet available. Please allow some days for processing.