Form:Test form: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(47 intermediate revisions by the same user not shown)
Line 1:
<noinclude>
__NOCACHE__
 
{{DISPLAYTITLE:Standard Journal Entry}}
<div style="text-align:center;">
<span class="newwin">[[File:CLW2.png|200px|link=https://www.opendemocracy.net]]</span>
 
 
----
 
 
Line 12 ⟶ 7:
 
 
</noinclude><includeonly>
{{{info|page name=JS<unique number;start=000001>}}}
{{{info|create title=Standard Journal Entry}}}
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
{{Articles Table Format
|publication=openDemocracy
|table=Articles
}}
 
 
{{{for template|Test templatetemplate2}}}
{{GotoCreateArticleMP}}
 
 
 
 
</noinclude><includeonly>
{{{info|page name=JS<unique number;start=000001>}}}
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Test template}}}
{| class="formtable"
! Description
| {{{field|Description|size=100|mandatory|maxlength=100}}}
|-
!
| {{{field|creator|hidden|default=current user}}}
|}
{{{end template}}}
 
{{{for template|Test template|multiple|maximum instances=1|display=spreadsheet|height=400px}}}
 
{{{for template|Test template|multiple|maximumminimum instances=12|displaymaximum instances=spreadsheet20|height=400px}}}
{| class="formtable"
| {{{field|Company}}} || {{{field|CostCentre|size=8|input type=combobox|values from category=Morning Star|mandatory|strict}}}||{{{field|Account|mandatory|size=16}}} || {{{field|SubAccount|mandatory|size=16}}} || {{{field|Credit|input type=number|size=16}}} || {{{field|Debit|size=16}}}
!
| {{{field|Company}}}
|-
!
| {{{field|CostCentre|input type=combobox|values from category=Morning Star|mandatory|size=30}}}
|-
!
| {{{field|Account|mandatory|size=16}}}
|-
!
| {{{field|SubAccount|mandatory|size=16}}}
|-
!
| {{{field|Credit|mandatory|size=16}}}
|-
!
| {{{field|Debit|mandatory|size=16}}}
|}
{{{end template}}}
Line 60 ⟶ 33:
 
 
{{#cargo_query:
{{{standard input|minor edit}}} {{{standard input|watch}}}
|table=ArticlesLedger
|fields=_pageName
|where=_pageName="JS000001"
|order by=_pagetitle ASC
}}
 
 
 
{{{standard input|save|label=Save Journal}}} {{{standard input|save and continue|Save and Continue|}}} {{{standard input|cancel}}} {{Clickable button 2|<small>New Journal</small>|url=https://wiki.campaign-labour.org/wiki/Special:FormEdit/Test_form?returnto=Form%3ATest+form}}
{{{standard input|save}}} {{{standard input|cancel}}}
</includeonly>
 
<!---|-
! Company !! CC !! Account !! Subaccount !! Credit !! Debit -->
|-