Difference between revisions of "Template:Article alerts columns/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jerem43
(Fix link)
blackwiki>Headbomb
(update doc)
Line 10: Line 10:
 
<pre>
 
<pre>
 
{{Article alerts columns
 
{{Article alerts columns
  |cols      = <!-- Adjusts the number of columns, defaults to 3 -->
+
  |colwidth  = <!-- Adjusts the number of columns, defaults to 25em -->
 
  |font-size = <!-- Adjusts the font size, default is 85% -->
 
  |font-size = <!-- Adjusts the font size, default is 85% -->
 
}}
 
}}
Line 31: Line 31:
 
(using [[WP:WPVG|Video games]] as an example)
 
(using [[WP:WPVG|Video games]] as an example)
  
{{tlx|Article alerts columns|Wikipedia:WikiProject Video games/Article alerts|cols{{=}}2}}
+
{{tlx|Article alerts columns|Wikipedia:WikiProject Video games/Article alerts|colwidth{{=}}15em}}
  
 
Will generate:
 
Will generate:
  
{{Article alerts columns|Wikipedia:WikiProject Video games/Article alerts|cols=2}}
+
{{Article alerts columns|Wikipedia:WikiProject Video games/Article alerts|colwidth=15em}}
  
 
;Font sizing-
 
;Font sizing-

Revision as of 16:48, 13 January 2018

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

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

Updated daily by AAlertBotDiscuss? / Report bug? / Request feature?
Click to watch (Subscribe via 14px RSS 14px Atom· Find Article Alerts for other topics!
Columns-

(using Video games as an example)

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

Will generate:

Article alerts

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

Updated daily by AAlertBotDiscuss? / Report bug? / Request feature?
Click to watch (Subscribe via 14px RSS 14px Atom· Find Article Alerts for other topics!
Font sizing-

(using Video games as an example)

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

Will generate:

Article alerts

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

Updated daily by AAlertBotDiscuss? / Report bug? / Request feature?
Click to watch (Subscribe via 14px RSS 14px Atom· Find Article Alerts for other topics!