Template:Political economy sidebar: Difference between revisions
Jump to navigation
Jump to search
Harrystein (talk | contribs) (Overhaul of template using wikipedia:template:sidebar with collapsible lists. Allows for more data to be added at a later date, and for sub-headers under larger headers. I may add TemplateStyles CSS as well.) |
Harrystein (talk | contribs) m (fixed expanded parameter) |
||
Line 6: | Line 6: | ||
| contentstyle = border-bottom: 1px solid #aaa; | | contentstyle = border-bottom: 1px solid #aaa; | ||
| headingstyle = font-size:120%; padding-top:0.25em; | | headingstyle = font-size:120%; padding-top:0.25em; | ||
| expanded = | | expanded = {{{expanded|{{{1|}}}}}} | ||
| heading1 = Authors | | heading1 = Authors |
Revision as of 16:46, 19 July 2023
This template includes collapsible lists.
- • To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{Political economy sidebar |expanded=all}}
or, if enabled,{{Political economy sidebar |all}}
(i.e. omitting "expanded=
").
- • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{Political economy sidebar |expanded=listname}}
or, if enabled,{{Political economy sidebar |listname}}
- …where listname is one of the following (do not include any quotemarks):
- "authors", "physiocrats", "mercantilists", "liberals", "vulgar authors", "value theory", "crisis theory", "economic rent", "books"
- For example,
{{Political economy sidebar |expanded=authors}}
or, if enabled,{{Political economy sidebar |authors}}
This template was based on Wikipedia:Template:Liberalism sidebar with help from Wikipedia:Template:Sidebar with collapsible lists/doc.
TO-DO:
- Add image to the top. Anything will do - Adam Smith, or something economic like the Bank of England.
- Add more parameters. Don't add unnecessary stuff just to fill it out -- if need be this can be converted to a smaller template.
- Create all the pages.