Difference between pages "Form:CTD article" and "Template:Tip"

From Teopedia library
(Difference between pages)
Jump to navigation Jump to search
(Created page with "<noinclude>This form is to create or edit an article of ''Enlarged Theosophical Glossary''. It uses template {{t|ETG article}}. Type a term below without diacritical mar...")
 
 
Line 1: Line 1:
<noinclude>This form is to create or edit an article of ''[[Enlarged Theosophical Glossary]]''. It uses template {{t|ETG article}}.  
+
<noinclude>This template will add pop-up tip.
  
Type a term below without diacritical mark.
+
'''Usage:'''
{{#forminput:form=ETG article|size=70|placeholder=glossary term|autocomplete on category=ETG articles}}
+
<pre>{{tip|}}</pre>
<span style="font-size: 90%; color: grey;">'''For example''': Asrama.  ([[:Category:ETG articles |see full list]])</span>
 
  
</noinclude><includeonly>{{{info
+
'''Example:'''
| create title= A new article for ''Enlarged Theosophical Glossary''
+
<pre>It was said in {{tip|SD}} that...</pre>
| edit title=Edit article in ''Enlarged Theosophical Glossary''
 
}}}
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
<div style="font-size: 90%;">See template {{t|ETG article}} for full parameter description.</div>
 
{{{for template|ETG article}}}
 
{| class="formtable"
 
! Term:
 
| {{#info: A term without diacritical mark}}
 
| {{{field | term |input type=text | size=70 }}}
 
|-
 
! Variations :
 
| {{#info: different spellings (list separated by ";")}}
 
| {{{field|variations |input type=text|size=70|placeholder=list separated by ";"}}}
 
|-
 
! Transliteration SD:
 
| {{#info: Spelling in ''The Secret Doctrine'' (if used)}}
 
| {{{field | transliteration SD| input type=text | size=70}}}
 
|-
 
! Transliteration IAST :
 
| {{#info: spelling according to International Alphabet of Sanskrit Transliteration}}
 
| {{{field | transliteration IAST | input type=text | size=70}}}
 
|-
 
! Origin :
 
| {{#info: spelling on the original language and original meaning}}
 
| {{{field | origin | input type=text | size=70}}}
 
|-valign=top
 
! Description :
 
| {{#info: description of a term, the article itself}}
 
| {{{field | description | input type=textarea|rows=3}}}
 
|-
 
! Categiries:
 
| {{#info: list separated by ";"}}
 
| {{{field | categiries| input type=text | size=70 | default=TG terms}}}
 
|-
 
! See also:
 
| {{#info: some terms the one is connected with, list separated by ";"}}
 
| {{{field | see also| input type=text | size=70 }}}
 
|}
 
{{{end template}}}
 
  
----
+
'''Result:'''
{{{standard input|summary}}} {{{standard input|minor edit}}}
 
  
{{{standard input|save}}} {{{standard input|cancel}}}
+
It was said in {{tip|SD}} that...
</includeonly>
+
 
 +
[[Category: Templates]]
 +
</noinclude><includeonly>{{#switch: {{{1|}}}
 +
| =
 +
| Alch = {{#vardefine:tip|Alchemical sources}} {{#vardefine:text|{{{1|}}}.}}
 +
| Arab = {{#vardefine:tip|Arab traditions}} {{#vardefine:text|{{{1|}}}.}}
 +
| Assyr = {{#vardefine:tip|Assyrian language}} {{#vardefine:text|{{{1|}}}.}}
 +
| Eg = {{#vardefine:tip|Egyptian mythology}} {{#vardefine:text|{{{1|}}}.}}
 +
| IAST = {{#vardefine:tip|International Alphabet of Sanskrit Transliteration}}{{#vardefine:text|{{{1|}}}.}}
 +
| Secret Doctrine
 +
| SD = {{#vardefine:tip|'The Secret Doctrine' by H.P.Blavatsky}} {{#vardefine:text|{{{1|}}}}}
 +
| Sk = {{#vardefine:tip|Sanskrit language}} {{#vardefine:text|{{{1|}}}.}}
 +
| Zohar = {{#vardefine:tip|'Zohar' commentaries}} {{#vardefine:text|{{{1|}}}}}
 +
| #default = {{#vardefine:tip|}}{{#vardefine:text|{{{1|}}}}}
 +
}}{{#varexists: tip|<span style="border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">{{#var:text}}</span>|{{{1|}}}}}</includeonly>

Revision as of 13:41, 24 September 2018

This template will add pop-up tip.

Usage:

{{tip|}}

Example:

It was said in {{tip|SD}} that...

Result:

It was said in SD that...