Difference between pages "Teopedia:Edittools" and "Template:HPB-SB-item (obsolete, without Lua)"
(Difference between pages)
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | < | + | <noinclude>This template is used by form {{f|HPB-SB-item}} to create or edit an item of ''[[H. P. Blavatsky's Scrapbooks]]''. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | * To create a new item use form {{f|HPB-SB-item}}. | |
− | + | * Pages that use this template are placed in category {{c|HPB-SB-items}}. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {| class=wikitable | |
− | + | |- | |
− | + | ! width=255px | To copy | |
− | + | ! Description | |
− | + | |-valign=top | |
− | + | | <pre> | |
− | + | {{HPB-SB-item | |
− | + | | volume = | |
− | + | | page = | |
− | + | | item = | |
+ | | type = | ||
+ | | continues = | ||
+ | | title = | ||
+ | | untitled = | ||
+ | | author = | ||
+ | | source = | ||
+ | | date = | ||
+ | | notes = | ||
+ | | image = | ||
+ | }} | ||
+ | </pre> | ||
+ | | | ||
+ | * '''volume''' -- Scrapbook volume number, {{p|HPB SB volume}} | ||
+ | * '''page''' -- page number in the volume, where item starts{{p|HPB SB volume page}} | ||
+ | * '''item''' -- item number on the page, {{p|HPB SB page item}} | ||
+ | * '''type''' -- type of item from the list: article, poem, image, other, {{p|HPB SB item type}} | ||
+ | * '''continues''' -- pages where the item continues, {{p|HPB SB item pages}} | ||
+ | * '''title''' -- title of the article, poem, etc., {{p|HPB SB item title}} | ||
+ | * '''untitled''' -- set "true" for text without a title; in this case parameter "title" should hold several words from the very begining of the text, {{p|HPB SB item untitled}} | ||
+ | * '''author''' -- name of author or authors, separated by semicolon, {{p|HPB SB item author}}} | ||
+ | * '''source''' -- the name of magazine or newspaper where it was published, {{p|HPB SB item source}}} | ||
+ | * '''date''' -- date in format YYYY-MM-DD, {{p|HPB SB item date}} | ||
+ | * '''notes''' -- any additional information about the item, {{p|HPB SB item notes}} | ||
+ | * '''image''' -- file name of the image, see category {{c|HPB Scrapbooks images}}, {{p|HPB SB item image}} | ||
+ | |} | ||
− | + | [[Category: Templates with forms]] | |
+ | [[Category: Templates for HPB SB]] | ||
+ | </noinclude><includeonly>{{HPB-SB-item-header}}<!-- | ||
− | + | Form and template links --> | |
− | + | <div style="float: right; font-size: 80%;"> [[Form:HPB-SB-item|F]] • [[Template:HPB-SB-item|T]] </div><!-- | |
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ITEM data --> | |
− | + | <div style="font-size: 80%; font-family:'Droid Sans Mono', 'Liberation Mono', Courier, monospace; border-bottom: 1px solid grey;">'''{{tip|ID|Volume-Page-Item}}''': {{{volume|}}}-{{{page|}}}-{{{item|}}} | '''type''': {{{type|}}} | '''volume''': [[HPB-SB-{{{volume|}}}|{{{volume|}}}]] | '''page''': [[HPB-SB-{{{volume|}}}-{{{page|}}}|{{{page|}}}]] {{#if: {{{continues|}}}| <nowiki>|</nowiki> '''continues on''': {{#arraymap:{{{continues|}}}|,|@@|[[HPB SB item pages::HPB-SB-{{{volume|}}}-@@]]}} |}}</div> | |
− | |||
− | |||
− | + | {{#if: {{{image|}}}| [[File:{{{image}}}|200x200px|right|thumb]] |}} | |
− | + | <span style="font-variant: small-caps; font-weight: bold; font-size: 120%;">[[HPB SB item title::{{{title|}}}]]</span> | |
− | + | ||
− | + | {{#if: {{{author|}}}|by {{#arraymap:{{{author|}}}|;|@@|[[HPB SB item author::@@]]}}|}} | |
− | + | ||
− | + | * '''Source''': {{{source|}}} | |
− | + | * '''Date''': {{{date|}}} | |
− | </ | + | * '''Notes''': {{{notes|}}} |
+ | |||
+ | <!-- CATEGORIES --> | ||
+ | {{#arraymap:{{{categories|}}}|,|@@| [[Category:@@]] | }} | ||
+ | [[Category: HPB-SB-items]] | ||
+ | <!-- SET properties --> | ||
+ | {{#set: HPB SB item item={{{item|}}} | ||
+ | | HPB SB volume={{{volume|}}} | ||
+ | | HPB SB volume page={{{page|}}} | ||
+ | | HPB SB item type={{{type|}}} | ||
+ | | HPB SB item source={{{source|}}} | ||
+ | | HPB SB item date={{{date|}}} | ||
+ | | HPB SB item notes={{{notes|}}} | ||
+ | }} | ||
+ | {{#if: {{{untitled|}}}| {{#set: HPB SB item untitled=true}}|}} | ||
+ | </includeonly> |
Revision as of 11:20, 8 December 2020
This template is used by form «HPB-SB-item» to create or edit an item of H. P. Blavatsky's Scrapbooks.
- To create a new item use form «HPB-SB-item».
- Pages that use this template are placed in category «HPB-SB-items».
To copy | Description |
---|---|
{{HPB-SB-item | volume = | page = | item = | type = | continues = | title = | untitled = | author = | source = | date = | notes = | image = }} |
|