×
Create a new article
Write your page title here:
We currently have 3,036 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,036Articles

Template:RecentlyEdited/doc: Difference between revisions

(update doc)
(default count has been changed to 12)
 
Line 38: Line 38:
"type": "number",
"type": "number",
"description": "The number of articles to display (from most recently edited to least recent).",
"description": "The number of articles to display (from most recently edited to least recent).",
"default": "8"
"default": "12"
}
}
}
}
Line 46: Line 46:
The following input:
The following input:
<pre>
<pre>
{{RecentlyEdited|category=Qxy{{!}}Spelude, Noildoof{{!}}Autumn|count=14}}
{{RecentlyEdited|category=Qxy{{!}}Spelude, Noildoof{{!}}Autumn|count=9}}
</pre>
</pre>


Produces:
Produces:
{{RecentlyEdited|category=Qxy{{!}}Spelude, Noildoof{{!}}Autumn|count=14}}
{{RecentlyEdited|category=Qxy{{!}}Spelude, Noildoof{{!}}Autumn|count=9}}


<noinclude>__NOTOC__ [[Category:Template documentation]]</noinclude>
<noinclude>__NOTOC__ [[Category:Template documentation]]</noinclude>

Latest revision as of 16:05, 17 September 2024

Description

This template has DPL code that shows a list of recently edited pages in selected categories using a packed gallery.

Syntax

On a category page of either locations or characters:

{{RecentlyEdited}}

On other pages:

{{RecentlyEdited|category=}}

Usage

The template places a collapsible section of articles with images. The images are taken from templates used on the article pages. The template is recommended to be used directly on a category page, which will have it display pages from that category.

This template can only show pages that use the following templates:

From this it's obvious that only pages of locations and characters really work, hence it's best to use a category with those pages as the input.

The limitations in page selection restrict the use of the template, so any help in making it more general is appreciated.

Parameters

Displays a packed gallery of recently edited pages in a category.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Category/Categoriescategory

Input one or more category names to display recently edited articles from those categories. Separate multiple with the magic word {{!}}.

Example
Yume Nikki Locations{{!}}Yume Nikki Characters
Auto value
{{PAGENAME}}
Lineoptional
Number of Articlescount

The number of articles to display (from most recently edited to least recent).

Default
12
Numberoptional

Sample

The following input:

{{RecentlyEdited|category=Qxy{{!}}Spelude, Noildoof{{!}}Autumn|count=9}}

Produces: