More languages
More actions
No edit summary |
mNo edit summary |
||
(26 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>'''This template is meant to be used in Library categories to display books in a more appealing and browsable way.'''</noinclude> | <noinclude>'''This template is meant to be used in Library categories to display books in a more appealing and browsable way.'''</noinclude> | ||
<templatestyles src="Library_cat/style.css" /> | <templatestyles src="Library_cat/style.css" /> | ||
{{DISPLAYTITLE:All {{{type}}} {{{pre}}} {{{topic}}} }} | {{#seo: | ||
All | |title_mode=replace | ||
|title=Read all {{{type}}} {{{pre}}} {{#ifeq:{{{the}}}|the|the|}} {{{topic}}} - ProleWiki | |||
|description:Read all {{{type}}} {{{pre}}} {{#ifeq:{{{the}}}|the|the|}} {{{topic}}} for free on ProleWiki! | |||
}} | |||
{{DISPLAYTITLE:All {{{type}}} {{{pre}}} {{#ifeq:{{{the}}}|the|the|}} {{{topic}}} }} | |||
All library {{{type}}} {{{pre}}} {{#ifeq:{{{the}}}|the|the|}} [[{{{topic}}}]] on ProleWiki. | |||
{{#dpl: | {{#dpl: | ||
|noresultsheader=Sorry, there are no works yet | |noresultsheader=Sorry, there are no works here yet | ||
|category = {{{category}}} | |category = {{{category}}} | ||
|includesubpages=false | |includesubpages=false | ||
|include = {Library work}:author:published_date:type:summary | |||
|include = {Library work}: | |table = class="wikitable sortable library-cat-table",Title,Author,Published,Type,Summary | ||
|table = class="wikitable sortable",Title,Type, | |||
|tablesortcol=3 | |tablesortcol=3 | ||
}} | }} | ||
{{#ifeq:{{{hidden|}}}|yes|__HIDDENCAT__|}} | {{#ifeq:{{{hidden|}}}|yes|__HIDDENCAT__|}} | ||
<noinclude> | |||
{{{the}}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"category": { | |||
"label": "Category", | |||
"description": "Full name of the category you want to make a list for, e.g., 'Library works by Karl Marx'. Required.", | |||
"required": true | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "Can be either 'works' or 'documents'. Required.", | |||
"required": true | |||
}, | |||
"pre": { | |||
"label": "Preposition", | |||
"description": "Can be 'by', 'from', or 'about'. Required.", | |||
"required": true | |||
}, | |||
"the": { | |||
"label":"The?", | |||
"description":"if ''the'', add 'the' to the sentence e.g. for 'Documents from ''the'' Soviet Union.'" | |||
}, | |||
"topic": { | |||
"label": "Topic", | |||
"description": "The content page that this category will link to. Required.", | |||
"required": true | |||
}, | |||
"hidden": { | |||
"label": "Hidden", | |||
"description": "If 'yes', will hide this category under individual works but still apply it. Useful for reading lists." | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 20:26, 19 September 2024
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.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category | category | Full name of the category you want to make a list for, e.g., 'Library works by Karl Marx'. Required. | Unknown | required |
Type | type | Can be either 'works' or 'documents'. Required. | Unknown | required |
Preposition | pre | Can be 'by', 'from', or 'about'. Required. | Unknown | required |
The? | the | if ''the'', add 'the' to the sentence e.g. for 'Documents from ''the'' Soviet Union.' | Unknown | optional |
Topic | topic | The content page that this category will link to. Required. | Unknown | required |
Hidden | hidden | If 'yes', will hide this category under individual works but still apply it. Useful for reading lists. | Unknown | optional |