Difference between revisions of "Form:Book"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(13 intermediate revisions by the same user not shown)
Line 10: Line 10:
  
 
{| class="wikitable bnw-form"
 
{| class="wikitable bnw-form"
|-
 
! Parent Page
 
| {{{field | BookParentPage | input type=dropdown | values=Library, Primary Sources, Secondary Sources, Dharma Teachings}}}
 
| Select the parent page for this book. This will determine the general category for this book. Also, it will set the breadcrumbs at the top of the page.
 
 
|-
 
|-
 
! Tile Description
 
! Tile Description
 
| {{{field | TileDescription | input type=textarea | cols=70 | rows=3 }}}
 
| {{{field | TileDescription | input type=textarea | cols=70 | rows=3 }}}
 +
|
 
|-
 
|-
 
! style="min-width: 180px;" | Featured Person(s)
 
! style="min-width: 180px;" | Featured Person(s)
 
| {{{field | BookPerson | holds template }}}
 
| {{{field | BookPerson | holds template }}}
| <span style="float: right;">{{RedTag|No Markup}}</span>Add as many people as you would like featured in the right sidebar, with image if possible. Do not paste in a full url here, we're talking about WIKI page names: '''Duckworth, D.''', '''Dalai Lama, 14th''', etc.
+
| <span style="float: right;">{{RedTag|No Markup}}</span>{{Callout|title=Overwrite only|text=use this field only to overwrite the values for authors / translators / editors being pulled from the DRL. You don't have to fill this out if you just want the regular list of people to display.|classes=w-100}}Add as many people as you would like featured in the right sidebar, with image if possible. Do not paste in a full url here, we're talking about WIKI page names: '''Duckworth, D.''', '''Dalai Lama, 14th''', etc.
  
 
Remember:  
 
Remember:  
Line 30: Line 27:
 
|-
 
|-
 
! Text Translated
 
! Text Translated
| {{{field | TextTranslated | input type=combobox | size=70 | placeholder=Enter the source text here | values from category=Source Texts | existing values only }}}
+
| {{{field | TextTranslated | input type=tokens | delimiter=; | placeholder=Enter the source text here | values from category=Source Texts | existing values only }}}
 
| If this text is a translation of a source text on this site, select it here.
 
| If this text is a translation of a source text on this site, select it here.
 
|-
 
|-
Line 39: Line 36:
 
|-
 
|-
 
! Book Excerpt Pages
 
! Book Excerpt Pages
| {{#ask: [[Category:Book Excerpts]][[Category:{{SUBPAGENAME}}]] |format=template |template=BookExcerptsList |link=none }}
+
| {{{field | SubPages | input type=textarea | autogrow | cols=70 | rows=3 }}}
 
{{#formlink:form=BookExcerpt
 
{{#formlink:form=BookExcerpt
 
|size=50
 
|size=50
Line 46: Line 43:
 
|query string=BookExcerpt[BookTitle]={{SUBPAGENAME}}
 
|query string=BookExcerpt[BookTitle]={{SUBPAGENAME}}
 
}}
 
}}
| Manage the book excerpt subpages for this book here.
+
| Manage the book excerpt subpages for this book here.  
 +
<pre>
 +
Use the following template for adding a book excerpt button on the left:
 +
 
 +
{{RelatedButton
 +
|link=/index.php/LINK TO WIKI PAGE
 +
|image=IMAGE URL
 +
|text=BUTTON TEXT
 +
|label=Book Excerpt
 +
|label-right=<i class="ml-1 fal fa-arrow-up rotate45"></i>
 +
|target=_blank
 +
|wrapperclasses=my-1
 +
}}
 +
 
 +
</pre>
 
|-
 
|-
 
! Book Essay
 
! Book Essay
Line 66: Line 77:
 
*** {{i|1 Textual History and Structure of the TGS|16}}
 
*** {{i|1 Textual History and Structure of the TGS|16}}
 
</pre>
 
</pre>
* '''Keep in mind''', the bullets will NOT appear, instead make sure to use whatever list numberering you want (1, A, i, a, I, etc.) inside the ITEM NAME area. See example above.
+
* '''Keep in mind''', the bullets will NOT appear, instead make sure to use whatever list numberering you want (1, A, i, a, I, etc.) inside the ITEM NAME area. See example above.<!--
 
|-
 
|-
 
! Enable "Related" Tab
 
! Enable "Related" Tab
 
| {{{field | AddRelatedTab | input type=checkbox }}} Yes
 
| {{{field | AddRelatedTab | input type=checkbox }}} Yes
| Select yes if you would like to add a tab to the book page for related content.  
+
| Select yes if you would like to add a tab to the book page for related content. -->
 
|-
 
|-
 
! "Quotes" Tab
 
! "Quotes" Tab
Line 86: Line 97:
 
! Extra Categories
 
! Extra Categories
 
| {{{field | ExtraCategories | input type=tokens | delimiter=; | property=Categories }}}
 
| {{{field | ExtraCategories | input type=tokens | delimiter=; | property=Categories }}}
 +
| Add any relevant categories here.
 +
|-
 +
! Disable further redirect creation?
 +
| {{{field | StopPersonRedirects | input type=checkbox }}} Yes
 +
| Check if you want to stop any further redirect creation for this page, other than manual.
 
|}
 
|}
  

Latest revision as of 12:20, 23 August 2021

This is the "Book" form to be used to create a book page.

To create a page with this form, go to Form:Add_a_page and follow instructions.