Form:CTD article: Difference between revisions

m
Fix checkbox layout: label now sits beside the checkbox instead of below it (div/flex instead of p, which can't contain the widget's block div)
mNo edit summary
m (Fix checkbox layout: label now sits beside the checkbox instead of below it (div/flex instead of p, which can't contain the widget's block div))
 
(3 intermediate revisions by 2 users not shown)
Line 36: Line 36:
| width=150px | Term or name in sortable form
| width=150px | Term or name in sortable form
| {{{field | term |input type=text | size=50 | default={{PAGENAME}} }}}
| {{{field | term |input type=text | size=50 | default={{PAGENAME}} }}}
<p style="text-indent: 0;">{{{field | person | input type=checkbox }}} Person <span style="font-size: 90%; color: grey;">(this term is a personal name)</span></p>
<div style="display: flex; align-items: center; gap: 0.4em; text-indent: 0;">{{{field | person | input type=checkbox }}} <span>Person <span style="font-size: 90%; color: grey;">(this term is a personal name)</span></span></div>
<div style="display: flex; align-items: center; gap: 0.4em; text-indent: 0;">{{{field | works | input type=checkbox }}} <span>Has works in the Library</span></div>
<p style="text-indent: 0; font-size: 90%; color: grey;">A term without diacritical marks; for person – family name first.<br>
<p style="text-indent: 0; font-size: 90%; color: grey;">A term without diacritical marks; for person – family name first.<br>
Example 1: '''Blavatsky, Helena Petrovna'''; Example 2: '''Adhyatmika duhkha'''
Example 1: '''Blavatsky, Helena Petrovna'''; Example 2: '''Adhyatmika duhkha'''
</p>
</p>
<p style="text-indent: 0;">Surname: {{{field | short name |input type=text | size=20 }}} Initials: {{{field | short name |input type=text | size=7 }}}</p>
<p style="text-indent: 0;">Surname: {{{field | short name |input type=text | size=20 }}} Initials: {{{field | initials |input type=text | size=7 }}}</p>
<p style="text-indent: 0; font-size: 90%; color: grey;">Surname: '''Blavatsky'''; Initials: '''H. P.''' (consider space in initials)</p>
<p style="text-indent: 0; font-size: 90%; color: grey;">Surname: '''Blavatsky'''; Initials: '''H. P.''' (consider space in initials)</p>


Line 112: Line 113:
<p style="text-indent: 0; font-size: 90%; color: grey; font-weight: normal; text-align: center;">of a term, the dictionary article itself</p>
<p style="text-indent: 0; font-size: 90%; color: grey; font-weight: normal; text-align: center;">of a term, the dictionary article itself</p>
|-valign=top
|-valign=top
| {{{field | description | input type=textarea | rows=7 |default= <nowiki>{{ctd-source|TG}}</nowiki>.}}}
| {{{field | description | input type=textarea | rows=7}}}
<div style="font-size: 90%; color: grey;">Use '''<nowiki>[[</nowiki>'''term'''<nowiki>]]</nowiki>''' for links to other terms. Category '''{{c|Terms from TG}}''' consist of terms from ''Theosophical Glossary''. Use template {{t|ctd-source}} to denote the source of information, f.e.: <nowiki>{{ctd-source|</nowiki>'''TG'''<nowiki>}}</nowiki> for ''Theosophical Glossary'' article, '''WP''' for [[wp:|Wikipedia]].</div>
<div style="font-size: 90%; color: grey;">Use '''<nowiki>[[</nowiki>'''term'''<nowiki>]]</nowiki>''' for links to other terms. Category '''{{c|Terms from TG}}''' consist of terms from ''Theosophical Glossary''. Use template {{t|ctd-source}} to denote the source of information, f.e.: <nowiki>{{ctd-source|</nowiki>'''TG'''<nowiki>}}</nowiki> for ''Theosophical Glossary'' article, '''WP''' for [[wp:|Wikipedia]].</div>
|-valign=top
|-valign=top