Dev: Memento wiki authoring templates: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 25: Line 25:
<hr>
<hr>
;Field Data Validation: Documentation is shown in 3 segments: the base (the initial text), the text specific to the field type being documented, and the wrap (the closing text). For example, documentation for a text field is done as follows:
;Field Data Validation: Documentation is shown in 3 segments: the base (the initial text), the text specific to the field type being documented, and the wrap (the closing text). For example, documentation for a text field is done as follows:
<pre><nowiki>
<pre>
{{FieldDataValidationBase}}
{{FieldDataValidationBase}}
{{FieldDataValidationText}}
{{FieldDataValidationText}}
{{FieldDataValidationWrap}}
{{FieldDataValidationWrap}}
</nowiki></pre>
</pre>
Such threesomes provide the following standard language:
Such threesomes provide the following standard language:
<br/><small>
<br/><small>
Line 44: Line 44:
{{FieldDataValidationWrap}}</small>
{{FieldDataValidationWrap}}</small>
<hr>
<hr>
;FieldDepend: merely provides the following standard language:
;FieldDepend: provides the following standard language:
<small>{{FieldDepend}}<hr></small>
<small>{{FieldDepend}}<hr></small>
;FieldFont: merely provides the following standard language:<small>{{FieldFont}}<hr></small>
;FieldFont: provides the following standard language:<small>{{FieldFont}}<hr></small>
;FieldFontCard: merely provides the following standard language:
;FieldFontCard: provides the following standard language:
<small>{{FieldFontCard}}<hr></small>
<small>{{FieldFontCard}}<hr></small>
;FieldNameHint: merely provides the following standard language:
;FieldNameHint: provides the following standard language:
<small>{{FieldNameHint}}<hr></small>
<small>{{FieldNameHint}}<hr></small>
;FieldOnCard: merely provides the following standard language:
;FieldOnCard: provides the following standard language:
<small>{{FieldOnCard}}<hr></small>
<small>{{FieldOnCard}}<hr></small>
;FieldRequired: merely provides the following standard language:
;FieldRequired: provides the following standard language:
<small>{{FieldRequired}}<hr></small>
<small>{{FieldRequired}}<hr></small>
;FieldRoleRND: merely provides the following standard language:
;FieldRoleRND: provides the following standard language:
<small>{{FieldRoleRND}}<hr></small>
<small>{{FieldRoleRND}}<hr></small>
;FieldRoleRNDS: merely provides the following standard language:
;FieldRoleRNDS: provides the following standard language:
<small>{{FieldRoleRNDS}}<hr></small>
<small>{{FieldRoleRNDS}}<hr></small>
;FieldRoleRT: merely provides the following standard language:
;FieldRoleRT: provides the following standard language:
<small>{{FieldRoleRT}}<hr></small>
<small>{{FieldRoleRT}}<hr></small>


=== Display Options ===
=== Display Options ===
FieldTypeReturnValues
<hr>
FieldWhereEdit
;FieldTypeReturnValues: displays a table showing for each field type, the JavaScript object returned & examples of returned values, as follows:
{{FieldTypeReturnValues}}
<hr>
;FieldWhereEdit: provides the following standard ''Where the field can be edited'' text, as follows:<pre>{{FieldWhereEdit}}</pre><small>
{{FieldWhereEdit}}</small>


=== Linking sheets ===
=== Linking sheets ===
JavaScriptLinks
<hr>
LinkSyncSheets
;JavaScriptLinks: provides sets of links to documentation of the use of JavaScript, as follows:<pre>{{JavaScriptLinks}}</pre><small>
MenuOptionLinkSyncSheets
{{JavaScriptLinks}}</small>
MenuOptionProtection
<hr>
MenuOptionUploadToCloud
;LinkSyncSheets:
<hr>
;MenuOptionLinkSyncSheets:
<hr>
;MenuOptionProtection:
<hr>
;MenuOptionUploadToCloud


Specific
Specific


=== Data & version stamping of wiki pages ===
=== Time & version stamping of wiki pages ===
Stamp
;Stamp: Pages that apply to all editions of Memento
StampD
<small>
StampM
; Example Stamp:<pre>{{stamp|21-04-10|4.10.0|1.9.6}</pre></small>
{{stamp|21-04-10|4.10.0|1.9.6}}
;StampD: Pages that apply only to the ''Desktop'' edition
<small>
; Example StampD: <pre>{{stamp|21-04-10|4.10.0|1.9.6}}</pre></small>
{{stampD|21-04-10|1.9.6}}
;StampM:Pages that apply only to the ''Mobile'' edition
<small>
; Example StampM: <pre>{{stampM|21-04-10|4.10.0}}</pre></small>
{{stampM|21-04-10|4.10.0}}


=== Miscellaneous ===
=== Miscellaneous ===
TBD above
TBD above
TBD below
TBD below

Navigation menu