Difference between revisions of "Form:Book"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(63 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
This is the "Book" form to be used to create a book page.
 
This is the "Book" form to be used to create a book page.
  
To create a page with this form, enter the page name below;
+
To create a page with this form, go to [[Form:Add_a_page]] and follow instructions.
if a page with that name already exists, you will be sent to a form to edit that page.
 
 
 
Always double check the spelling and make sure the book doesn't already exist in the site with another name.
 
 
 
{{#forminput:form=Book}}
 
  
 
</noinclude><includeonly>__NOTOC__
 
</noinclude><includeonly>__NOTOC__
Line 16: Line 11:
 
{| class="wikitable bnw-form"
 
{| class="wikitable bnw-form"
 
|-
 
|-
! style="min-width: 170px;" | Featured Person(s)
+
! Tile Description
| {{{field | BookPerson | holds template | add button text=Add another person }}}
+
| {{{field | TileDescription | input type=textarea | cols=70 | rows=3 }}}
| <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.
+
|
 +
|-
 +
! style="min-width: 180px;" | Featured Person(s)
 +
| {{{field | BookPerson | holds template }}}
 +
| <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:  
* The pagename for this person may not be the same as the name you want to display. Use both fields carefully.
+
* The pagename for this person may not be the same as the name you want to display. Use both fields carefully. Find page for this person on this site and paste in here.
* You can use any image on https://commons.tsadra.org as it is linked to this site.
 
 
|-
 
|-
 
! Fully Readable?
 
! Fully Readable?
| {{{field | FullTextRead | input type=checkbox }}} Yes
+
| {{{field | FullTextRead | input type=checkbox }}} Yes &nbsp;&nbsp;&nbsp; Page: {{{field | FullTextLink | input type=text | size=25 }}} &nbsp;&nbsp;&nbsp; Label: {{{field | FullTextLinkLabel | input type=text | size=25 }}}
| Is the full content of this book readable on the site?
+
| Is the full content of this book readable on the site? Provide the full page name of the full content page on this site.
 +
|-
 +
! Text Translated
 +
| {{{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.
 
|-
 
|-
 
! Featured Video
 
! Featured Video
Line 32: Line 34:
 
Video ID: {{{field | VideoId }}}
 
Video ID: {{{field | VideoId }}}
 
| <span style="float: right;">{{RedTag|No Markup}}</span>If you would like to add a featured video, select the service and provide the video ID (unique string from URL).
 
| <span style="float: right;">{{RedTag|No Markup}}</span>If you would like to add a featured video, select the service and provide the video ID (unique string from URL).
 +
|-
 +
! Book Excerpt Pages
 +
| {{{field | SubPages | input type=textarea | autogrow | cols=70 | rows=3 }}}
 +
{{#formlink:form=BookExcerpt
 +
|size=50
 +
|link text=Add a book excerpt
 +
|super_page={{PAGENAME}}
 +
|query string=BookExcerpt[BookTitle]={{SUBPAGENAME}}
 +
}}
 +
| 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 39: Line 65:
 
! Table of Contents
 
! Table of Contents
 
| {{{field | BookToc | input type=textarea | cols=70 | rows=3 }}}
 
| {{{field | BookToc | input type=textarea | cols=70 | rows=3 }}}
| <span style="float: right;">{{GreenTag|Markup OK}}</span>Include here the table of contents for this book, as you would like to see it formatted.
+
| <span style="float: right;">{{GreenTag|Markup OK}}</span>Include here the table of contents for this book. In order to make it consistently formatted, please use the following syntax:
 +
* Use bullets to denote a new item, and the outline depth (e.g. 2 bullets for a level two item, 3 bullets for level three, etc.)
 +
* Use <code><nowiki>{{ i | LIST ITEM NAME | PAGE NUMBER }}</nowiki></code> after the bullet(s) to create your item.
 +
* Example:
 +
<pre>
 +
* {{i|Preface|7}}
 +
* {{i|Acknowledgements|8}}
 +
* {{i|Technical Note: My Use of the Asterisk|10}}
 +
* {{i|I A Study and Annotated Translation of the Tathagatagarbhasātra|11}}
 +
** {{i|A General Study and Text-historical Considerations|12}}
 +
*** {{i|1 Textual History and Structure of the TGS|16}}
 +
</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.<!--
 +
|-
 +
! Enable "Related" Tab
 +
| {{{field | AddRelatedTab | input type=checkbox }}} Yes
 +
| Select yes if you would like to add a tab to the book page for related content. -->
 +
|-
 +
! "Quotes" Tab
 +
| {{{field | QuotesTabContent | input type=textarea | cols=70 | rows=3 }}}
 +
| Select yes if you would like to add a quotes tab to the book page. Contents of that tab can be added to text area below. To fetch ALL quotes from the DRL, paste in the tag <code><nowiki>{{GetBookQuotes}}</nowiki></code>. If you would just like to insert a quote manually, you can use the '''<nowiki>{{ Blockquote }}</nowiki>''' template to format it properly, in the format: <code><nowiki>{{ Blockquote | QUOTE TEXT HERE | QUOTE SOURCE HERE }}</nowiki></code>.
 
|-
 
|-
 
! Publisher Logo
 
! Publisher Logo
Line 45: Line 91:
 
| <span style="float: right;">{{RedTag|No Markup}}</span>If you have a publisher link on this page, you may need to include a publisher logo here. The main publishers will have logos automatically loaded but for the rest, please provide a file pagename.
 
| <span style="float: right;">{{RedTag|No Markup}}</span>If you have a publisher link on this page, you may need to include a publisher logo here. The main publishers will have logos automatically loaded but for the rest, please provide a file pagename.
 
|-
 
|-
! Status
+
! Post Status
| {{{field | PostStatus | input type=dropdown | values=Needs Copywriting, Needs Final Review, Approved }}}
+
| {{{field | PostStatus | input type=dropdown | values=Needs Copy Editing, Needs Final Review, Approved }}}
 
| Publishing status on the site.
 
| Publishing status on the site.
 +
|-
 +
! Extra 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.
 
|}
 
|}
  
Line 53: Line 107:
  
  
{{{for template | Book-person | multiple | embed in field=Book[BookPerson] }}}
+
{{{for template | Book-person | multiple | embed in field=Book[BookPerson] | add button text=Add another person }}}
  
 
{| class="wikitable bnw-form"
 
{| class="wikitable bnw-form"
|-
 
! style="min-width: 160px;" | Person Name
 
| {{{field | PersonName | input type=text | size=50 }}}
 
 
|-
 
|-
 
! Person Page
 
! Person Page
 
| {{{field | PersonPage | input type=text | size=50 }}}
 
| {{{field | PersonPage | input type=text | size=50 }}}
 
|-
 
|-
! Person Image
+
! style="min-width: 160px;" | Display Name
| {{{field | PersonImage | input type=text | size=50 }}}
+
| {{{field | PersonName | input type=text | size=50 }}}
 
|}
 
|}
  

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.