Template:Library cat: Difference between revisions

Template page
No edit summary
No edit summary
Line 6: Line 6:
|description:Read all {{{type}}} {{{pre}}} {{{topic}}} for free on ProleWiki!
|description:Read all {{{type}}} {{{pre}}} {{{topic}}} for free on ProleWiki!
}}
}}
{{DISPLAYTITLE:All {{{type}}} {{{pre}}} {{{topic}}} }}
{{DISPLAYTITLE:All {{{type}}} {{{pre}}} {{#ifeq:{{{the|}}}|yes|the |}} {{{topic}}} }}
All library {{{type}}} {{{pre}}} [[{{{topic}}}]] on ProleWiki.
All library {{{type}}} {{{pre}}} {{#ifeq:{{{the|}}}|yes|the |}}[[{{{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)
(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)
Line 23: Line 23:


<noinclude>
<noinclude>
{{{the|}}}
<templatedata>
<templatedata>
{
{
Line 40: Line 41:
       "description": "Can be 'by', 'from', or 'about'. Required.",
       "description": "Can be 'by', 'from', or 'about'. Required.",
       "required": true
       "required": true
    },
    "the": {
      "label":"The?",
      "description":"if ''yes'', add 'the' to the sentence e.g. for 'Documents from ''the'' Soviet Union.'"
     },
     },
     "topic": {
     "topic": {

Revision as of 21:47, 4 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



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 ''yes'', 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