Wikipedia:Wikipedia Signpost/Templates/Article count
Appearance
5617
This template uses Lua: |
- Templates like this: {{Signpost/Number of articles}} · {{Signpost/Number of issues}} · {{Signpost/Number of pages}} · {{Signpost/Number of nontalk pages}} · {{Signpost/Number of talk pages}} · {{Wikipedia:Wikipedia Signpost/Templates/Article count}}
This template returns the count of Signpost articles that fit certain criteria.
Syntax
[edit]All articles
{{Wikipedia:Wikipedia Signpost/Templates/Article count}}
Articles for a single page (will be either 1 or 0)
{{Wikipedia:Wikipedia Signpost/Templates/Article count|page=page}}
Articles for a specific date
{{Wikipedia:Wikipedia Signpost/Templates/Article count|date=date}}
Articles by a specific author
{{Wikipedia:Wikipedia Signpost/Templates/Article count|author=username}}
Articles filtered by tag and by date
{{Wikipedia:Wikipedia Signpost/Templates/Article count | tags = tags, comma-separated | tagmatch = "any" or "all" | startdate = start date | enddate = end date }}
Parameters
[edit]page
- If you use this parameter, only the specified page will be outputted.date
- If you use this parameter, only articles for the specified date will be outputted.tags
- Use this parameter to filter the articles by tag. You can specify an unlimited number of tags, separated by commas.tagmatch
- If this is set to "all", then only articles that match all the tags specified intags
will be outputted. Otherwise, articles matching any of the tags will be outputted.startdate
- Don't output any articles before this date.enddate
- Don't output any articles later than this date.author
- Only output articles by this author. This should be the username of the author, without the "User:" prefix (e.g.JPxG
).
Examples
[edit]Code | Result |
---|---|
{{Wikipedia:Wikipedia Signpost/Templates/Article count}}
|
5617 |
{{Wikipedia:Wikipedia Signpost/Templates/Article count|page=Wikipedia:Wikipedia Signpost/2015-03-25/News and notes}}
|
1 |
{{Wikipedia:Wikipedia Signpost/Templates/Article count|date=25 March 2015}}
|
7 |
{{Wikipedia:Wikipedia Signpost/Templates/Article count|author=Kudpung}}
|
53 |
{{Wikipedia:Wikipedia Signpost/Templates/Article count|tags=wikimania}}
|
120 |
{{Wikipedia:Wikipedia Signpost/Templates/Article count|tags=wikimania, jimbo}}
|
255 |
{{Wikipedia:Wikipedia Signpost/Templates/Article count|tags=wikimania, jimbo|tagmatch=all}}
|
8 |
{{Wikipedia:Wikipedia Signpost/Templates/Article count|tags=wikimania, jimbo|tagmatch=all|startdate=1 January 2010|enddate=31 December 2012}}
|
2 |