mNo edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
*Template:NPCBox | *Template:NPCBox | ||
*Template:Listloc | *Template:Listloc | ||
*Template:Characterbox | |||
From this it's obvious that only pages of locations and characters really work with this, hence it's best to use those kinds of pages as inputs.<br> | From this it's obvious that only pages of locations and characters really work with this, hence it's best to use those kinds of pages as inputs.<br> | ||
The template is meant to show pages with recent activity as editors may be inclined to follow up on those edits. New pages which would be recieving more edits will appear which similarly attracts more attention. The limitations in page selection are annoying and restrict the use of the template, so any help in making it easier to use is appreciated. | The template is meant to show pages with recent activity as editors may be inclined to follow up on those edits. New pages which would be recieving more edits will appear which similarly attracts more attention. The limitations in page selection are annoying and restrict the use of the template, so any help in making it easier to use is appreciated. | ||
==Parameters== | ==Parameters== | ||
<templatedata>{"description": "","params": { | <templatedata>{"description": "","params": { | ||
" | "category": { | ||
"label": " | "label": "Category/Categories", | ||
"type": "line", | "type": "line", | ||
"description": "Choose | "description": "Choose category pages to find the recently edited articles from those categories. Separate multiple with commas.", | ||
"example": "Yume Nikki Locations", | "example": "Yume Nikki Locations, Yume 2kki Characters, Wataru", | ||
"autovalue": "{{PAGENAME}}" | "autovalue": "{{PAGENAME}}" | ||
}, | }, | ||
"count": { | "count": { | ||
Line 58: | Line 43: | ||
==Sample== | ==Sample== | ||
The following input: | The following input: | ||
<pre>{{RecentlyEdited| | <pre>{{RecentlyEdited|category=Qxy, Spelude, Noildoof, Autumn|count=14|align=top}}</pre> | ||
Produces: | Produces: | ||
{{RecentlyEdited| | {{RecentlyEdited|category=Qxy, Spelude, Noildoof, Autumn|count=14|align=top}} | ||
<noinclude>__NOTOC__ [[Category:Template documentation]]</noinclude> | <noinclude>__NOTOC__ [[Category:Template documentation]]</noinclude> | ||
<includeonly>__NOEDITSECTION__</includeonly> | <includeonly>__NOEDITSECTION__</includeonly> |
Revision as of 04:10, 12 July 2023
Description
This template has DPL code that shows a list of recently edited pages in selected categories. It is in the format of images with link captions underneath.
Syntax
On a category page of either locations or characters:
{{RecentlyEdited}}
Manual input and with a higher number of pages listed:
{{RecentlyEdited|page0=Yume Nikki Locations|page1=Yume Nikki Characters|page2=Yume 2kki Characters|count=16}}
Usage
The template places a collapsible section containing a selected number of images in a row. The articles to use in the list are those found in inputted categories. The images are taken from templates used on the article pages. This template can only show pages that use the following templates:
- Template:ListChar
- Template:Locationbox
- Template:NPCBox
- Template:Listloc
- Template:Characterbox
From this it's obvious that only pages of locations and characters really work with this, hence it's best to use those kinds of pages as inputs.
The template is meant to show pages with recent activity as editors may be inclined to follow up on those edits. New pages which would be recieving more edits will appear which similarly attracts more attention. The limitations in page selection are annoying and restrict the use of the template, so any help in making it easier to use is appreciated.
Parameters
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category/Categories | category | Choose category pages to find the recently edited articles from those categories. Separate multiple with commas.
| Line | optional |
Number of Articles | count | The number of articles to present (from most recently edited to least recent).
| Number | suggested |
Article Alignment | align | How the image and caption underneath are aligned with the rest of the row. As they are grouped together, text spanning multiple lines will mess with the alignment in the same way different image heights would.
| Line | suggested |
Sample
The following input:
{{RecentlyEdited|category=Qxy, Spelude, Noildoof, Autumn|count=14|align=top}}
Produces: