User Tools

Site Tools


Translations of this page?:
en:tech:page_templates

Page templates

For namespace-templates see/use also other language spaces!

The feature namespace_templates allows the use of templates used when creating a new page and makes it easier for everyone. The plugin:include allows to put certain sections of other pages and their section into a page.

In using both features, it is objected to maintain one page, having all particular template header and footer included where changes are easy and global to maintain: See template includes for headers and footer usage.

This page contains the drafts and current templates for the namespaces, headed by the ID of the namespace.

Note: If edits are made for templates in a certain namespace and files already exist there, it is needed to use the replacement tool and edit the files in the section accordingly the edits done here.

en dictionary

ID: en:dictionary:_template
Used in dictionary
Status: aktiv

Issues: problem when section does not exist in included page. See also [ATI.eu] Namespace templats and "include

Solve: Large reference pages, like dictionaries, need to have two section titel before the header code. See ati_glossary. The plugin:include-code needs to be enriched with firstsectiononly as well.

{{section>en:tech:template_includes#en_dictionary_header&nouser&nodate&noheader&noeditbutton&firstsectiononly&noreadmore}}

<div dic_box><WRAP centeralign>**@PAGE@**</WRAP>
----
Pāḷi; √ //[[@PAGE@]]//\\
//gender:// …\\
//type:// …\\
//alt. sp.:// @PAGE@\\
//translation ~:// …\\
//skr.:// …\\
//khmer:// [[km:dictionary:@FILE@|…]]\\
//thai:// [[th:dictionary:@FILE@|…]]\\
//sinhal.:// [[si:dictionary:@FILE@|…]]\\
//burm.:// [[my:dictionary:@FILE@|…]]\\
//appears:// …
----
{{pi:audio:words:@FILE@.mp3}}
----
<span hide>{{en:dictionary:@FILE@.jpg}}</span>
</div>

====== @PAGE@ ======

<span info>Please add missing districts, give the right spelling, in the page title, beginn of text, and header in the box, such as ñ, ṭ, ā... when new created and delete this span here.</span>

**@PAGE@**: <span sgdana>Description welcome. Info can be removed after imput</span>.

==== ATI Glossary ====

{{section>en:dictionary:ati_glossary#@FILE@&nouser&nodate&noheader&noeditbutton&firstsectiononly&noreadmore}}

==== Buddhist Dictionary ====
//by late Ven. [[en:lib:authors:nyanatiloka:|Nyanalokita Thera]]://

{{section>en:dictionary:buddhist_dictionary#@FILE@&nouser&nodate&noheader&noeditbutton&firstsectiononly&noreadmore}}

==== PTS Dictionary ====
//by the Pali Text Society://

{{section>en:dictionary:pts_dictionary#@FILE@&nouser&nodate&noheader&noeditbutton&firstsectiononly&noreadmore}}

==== Glossary Thanissaro ====
//by Ven. [[en:lib:authors:thanissaro:|Thanissaro Maha Thera]]://

{{section>en:dictionary:thanissaro_glossary#@FILE@&nouser&nodate&noheader&noeditbutton&firstsectiononly&noreadmore}}

==== Glossary various Teacher ====

{{section>en:dictionary:various_teacher_glossary#@FILE@&nouser&nodate&noheader&noeditbutton&firstsectiononly&noreadmore}}

==== See also ====

**Suttas and Dhammadesanā**

{{section>en:dictionary:suttas_and_dhammadesanā#@FILE@&nouser&nodate&noheader&noeditbutton&firstsectiononly&noreadmore}}

  * [[en:wiki:@FILE@|@PAGE@]] in the [[wiken>index|wiki-section]].

==== Info & meta data ====
<hidden onHidden="[open]" onVisible="[close]">
  * You can add an record of the Pali, and [[http://accesstoinsight.eu/lib/exe/mediamanager.php?ns=pi%3Aaudio%3Awords&edid=wiki__text|upload it]]. (//Change "pi" to "en" for english words. The file should be without diacritics, lowcase and mp3. Change diacritics in link and remove this encouragement here.//)

  * //You are given to add additional sources/Dictionaries. Consider the use and modification of [[en:tech:page_templates]] if wishing to include a certain dictionary to many pages. Edits of Dictionary content can be made in the paticulary source file.//

**meta data**

---- dataentry metadata ----
page ID: @ID@
pagename: @PAGE@
file: @FILE@
permanent link: http://accesstoinsight.eu/@ID@
page initially given by: [[user:@NAME@:index|@NAME@]]
page creation date: @DATE@
origin author and source: see [[en:dictionary:source_of_dictionaries]].
source: various, see [[en:dictionary:source_of_dictionaries]]
edits: see [[en:dictionary:source_of_dictionaries]]
edition: ati.eu @DATE@
scope of gift: **This is a gift of Dhamma** and given to use for any skilful/wholesome purpose and undertaking but not for any commercial use or other use of exchange for worldly aims. For additional information see [[en:dhamma-dana|Dhamma-Dana]] and possible details at the [[en:dictionary:source_of_dictionaries|source pages]] for included parts. Much joy in using and share of the merits!
owner of this copy: Sublime [[en:wiki:sangha:Sangha]] of the eight directions.
current maintainer: The [[aramika]] and monastic disciples on [[http://sangham.net/index.php?action=forum|sangham.net]]
dedications of editors: [[user:@NAME@]]: for the Sublime Saṅgha of the Buddha and those following and interested, and so then benefiting my persons teachers, parents and ancestors, all beings welfare.
----

</hidden>
{{section>en:tech:template_includes#en_dictionary_footer&nouser&nodate&noheader&noeditbutton&firstsectiononly&noreadmore}}
en/tech/page_templates.txt · Last modified: 2018/11/04 15:08 by Johann