Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Library cat: Difference between revisions

Template page
m (didn't remove pipe characters)
Tag: Reverted
(test didn't work)
Tag: Manual revert
Line 11: Line 11:
(If you see an error message at the top of the page, we are aware of the issue. It's a visual bug and doesn't prevent any function on the page)
(If you see an error message at the top of the page, we are aware of the issue. It's a visual bug and doesn't prevent any function on the page)


<dpl>
{{#dpl:
noresultsheader=Sorry, there are no works yet
|noresultsheader=Sorry, there are no works yet
category = {{{category}}}
|category = {{{category}}}
includesubpages=false
|includesubpages=false
addcategories=true
|addcategories=true
include = {Library work}:published_date:type:<small>%CATLIST%</small>
|include = {Library work}:published_date:type:<small>%CATLIST%</small>
table = class="wikitable sortable library-cat-table",Title,Published,Type,Categories
|table = class="wikitable sortable library-cat-table",Title,Published,Type,Categories
tablesortcol=2
|tablesortcol=2
</dpl>
}}
{{#ifeq:{{{hidden|}}}|yes|__HIDDENCAT__|}}
{{#ifeq:{{{hidden|}}}|yes|__HIDDENCAT__|}}



Revision as of 20:59, 6 October 2023

This template is meant to be used in Library categories to display books in a more appealing and browsable way.

All library {{{type}}} {{{pre}}} [[{{{topic}}}]] on ProleWiki.

(If you see an error message at the top of the page, we are aware of the issue. It's a visual bug and doesn't prevent any function on the page)

Extension:DynamicPageList3 (DPL3), version 3.5.2: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


{{{the}}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Categorycategory

Full name of the category you want to make a list for, e.g., 'Library works by Karl Marx'. Required.

Unknownrequired
Typetype

Can be either 'works' or 'documents'. Required.

Unknownrequired
Prepositionpre

Can be 'by', 'from', or 'about'. Required.

Unknownrequired
The?the

if ''the'', add 'the' to the sentence e.g. for 'Documents from ''the'' Soviet Union.'

Unknownoptional
Topictopic

Can be anything. The sentence will look like e.g., 'All library works by Karl Marx'. Will be linked to the wiki page. Required.

Unknownrequired
Hiddenhidden

If 'yes', will hide this category under individual works but still apply it. Useful for reading lists.

Unknownoptional