Difference between revisions of "Form:Chapter"
From Venlo Samenwerkingswijzer
(14 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
| <h2>Tekst</h2> | | <h2>Tekst</h2> | ||
{{{field|Text chapter|input type=textarea|editor=wikieditor|cols=120|rows=10|autogrow}}} | {{{field|Text chapter|input type=textarea|editor=wikieditor|cols=120|rows=10|autogrow}}} | ||
+ | {{#ifingroup:sysop |<div>{{{field|Paragraphs|holds template}}} </div> }} | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
− | <!--- Nog in voorbereiding: | + | <!---Nog in voorbereiding:----> |
− | {{{for template|Paragraph|embed in field=Chapter[Paragraphs]}}} | + | {{{for template|Paragraph|multiple|embed in field=Chapter[Paragraphs]|add button text=Voeg een paragraaf toe}}} |
− | {{{field|SELECT|input type=radiobutton | + | {{{field|SELECT|input type=radiobutton|show on select=Afbeelding=>afbeelding;Paragraaf=>paragraaf|delimiter=;|values=Paragraaf; Afbeelding|default=Paragraaf|mandatory}}} |
<div id="paragraaf"> | <div id="paragraaf"> | ||
− | |||
− | |||
− | |||
− | |||
{| class="formtable" | {| class="formtable" | ||
+ | |- | ||
+ | ! Kopje {{#info: Standaardniveau is h3 }} | ||
+ | | {{{field|Heading|input type=text|size=30|class=strong}}} | ||
+ | | {{{field|Level|input type=dropdown|default=h3|values=h2,h3,h4,h5}}} | ||
+ | |- | ||
+ | ! Tekst | ||
+ | | colspan=2 | {{{field|Paragraph|input type=textarea|rows=1|autogrow|editor=wikieditor}}} | ||
+ | |} | ||
+ | </div><div id="afbeelding"> | ||
+ | {{{!}} class="formtable" | ||
|- valign="top" | |- valign="top" | ||
− | ! Bestand | + | ! Bestand* {{#info:Verplicht veld}} |
− | {{!}} {{{field|Bestand|input type=text|uploadable}}} | + | {{!}} colspan=3 {{!}} {{{field|Bestand|input type=text with autocomplete|values from namespace=File|uploadable}}} |
|- | |- | ||
− | | Afmetingen | + | ! Afmetingen: |
− | | {{{field| | + | | {{{field|Afmetingen|input type=text|size=10}}} |
+ | ! Positie: | ||
+ | | {{{field|Positie|input type=dropdown|size=10|values=left,right,}}} | ||
|- | |- | ||
− | ! Coordinaten | + | ! Coordinaten {{#info:Alleen als de afbeelding als ''imagemap'' wordt gebruikt. }} |
− | | {{{field|Coordinaten|input type=textarea|rows=1|autogrow | + | | colspan=3 {{!}} {{{field|Coordinaten|input type=textarea|rows=1|autogrow}}} |
− | |||
− | |||
− | |||
|} | |} | ||
</div> | </div> | ||
{{{end template}}} | {{{end template}}} | ||
− | + | ||
{{Standard input}} | {{Standard input}} | ||
</includeonly> | </includeonly> |