Difference between revisions of "Form:Document"

From Wikispooks
Jump to navigation Jump to search
(OriginalLanguage combobox)
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(47 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><big>To create a new document, type the title of the document below.<br/>
+
<noinclude>[[Category:Semantic_Forms]]
If a document with this title already exists, you will be have a chance to edit it.{{#forminput:form=Document|size=100|placeholder=Type in the title here...|namespace=document|button text=Create Document}}</big></noinclude><includeonly>
+
{{FormIntro}}
 +
<br/>
 +
{{#forminput:form=Document|size=100|placeholder=Type in the title here...|namespace=document|button text=Create or edit  Document}}</noinclude><includeonly>
 
__NOTOC__
 
__NOTOC__
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
Line 12: Line 14:
 
{|
 
{|
 
! Document title:
 
! Document title:
| {{{field|ContentsTitle|size=60|placeholder=Usually not needed. Only needed if the original title was too long.}}}
+
| {{{field|title|size=60|placeholder=Usually not needed. Only needed if the original title was too long.}}}
 
|-
 
|-
 
! Publication Date:
 
! Publication Date:
| {{{field|Date|placeholder=YYYY-MM-DD}}}
+
| {{{field|publication_date|input type=date}}}
 
|-
 
|-
 
! Document Type:
 
! Document Type:
| {{{field|DocType|input type=combobox|values from property=Has documentType|placeholder=article, blog, memo etc.}}}
+
| {{{field|type|input type=combobox|values from property=Has documentType|placeholder=article, blog, memo etc.}}}
 
|-
 
|-
 
! Document description:
 
! Document description:
| {{{field|Description|input type=textarea|rows=4|cols=57|maxlength=500|mandatory|placeholder=A quick summary of this document using one paragraph of less than 500 characters. DO NOT use a carriage return character}}}
+
| {{{field|description|input type=textarea|rows=4|cols=57|maxlength=500|mandatory|placeholder=A quick summary of this document using one paragraph of less than 500 characters. DO NOT use a carriage return character}}}
 
|}
 
|}
 
</div>
 
</div>
Line 28: Line 30:
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:102%;">
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:102%;">
 
{|
 
{|
! style="text-align:right;" | Leaked:
 
| width=6% | {{{field|Leaked|input type=checkbox|default=false}}}
 
|-
 
 
! style="text-align:right;" | Draft:
 
! style="text-align:right;" | Draft:
| {{{field|DocTypeDraft|input type=checkbox|default=false}}}
+
| {{{field|draft|input type=checkbox|default=false}}}
 
|-
 
|-
 
! style="text-align:right;" | Multiple Documents:
 
! style="text-align:right;" | Multiple Documents:
| {{{field|DocTypeCollection|input type=checkbox|default=false}}}
+
| {{{field|collection|input type=checkbox|default=false}}}
 
|}
 
|}
 
</div>
 
</div>
 
|}
 
|}
 
{| cellspacing="0" cellpadding="0" style="margin:1em 0em 1em; width:100%"
 
{| cellspacing="0" cellpadding="0" style="margin:1em 0em 1em; width:100%"
| style="width:50%; vertical-align:top; border:1px solid #9a9a9a; background-color:#f6f6f6;" |
+
| style="width:45%; vertical-align:top; border:1px solid #9a9a9a; background-color:#f6f6f6;" |
<div style="border-bottom:1px solid #9a9a9a;  padding:0.5em 0.5em; font-size:108%;text-align:left;">[[Image:WsIcon32.png|20px]] '''WikiSpooks Pagenames'''</div>
+
<div style="border-bottom:1px solid #9a9a9a;  padding:0.5em 0.5em; font-size:108%;text-align:left;">[[Image:WsIcon32.png|20px]] '''Wikispooks Pagenames'''<br/>
 +
<small>Comma-separated list</small></div>
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
 
{| Style="text-align:left;"
 
{| Style="text-align:left;"
! width="30%" | Author:
+
! width="40%" | Author(s):
| {{{field|Author|property=Is author|placeholder=Who wrote this?}}}
+
| {{{field|authors|property=Is author|placeholder=Who wrote this?}}}
 
|-
 
|-
<!--! DEPRECATED, 2014-05-24, REMOVE LATER
 
Subject:
 
| {{{field|Subject|placeholder=Use for single subjects only}}} '''or'''
 
|- -->
 
 
! Subject(s):
 
! Subject(s):
| {{{field|Subjects||placeholder=Subject1, subject2, ...}}}
+
| {{{field|subjects||placeholder=Subject1, subject2, ...}}}
 
|-
 
|-
 
! Constitutes:
 
! Constitutes:
| {{{field|Constitutes|placeholder=An example of?}}}
+
| {{{field|constitutes|size=60|placeholder=An example of?}}}
 
|-
 
|-
 
! Source:
 
! Source:
| {{{field|SourceName|placeholder=some website}}}
+
| {{{field|source_name|placeholder=some website}}}
|-
 
| colspan=2 | <br/>''Use the '''additional information''' tab above for more authors, sources etc.''
 
 
|}
 
|}
 
</div>
 
</div>
 
| style="padding:0 0.5em;" |
 
| style="padding:0 0.5em;" |
| style="width:50%; vertical-align:top; border:1px solid #9a9a9a; background-color:#f6f6f6;" |
+
| style="width:55%; vertical-align:top; border:1px solid #9a9a9a; background-color:#f6f6f6;" |
<div style="border-bottom:1px solid #9a9a9a; padding:0.5em 0.5em; font-size:108%;text-align:left;">'''Human readable notes (optional) <small>+ Source URL</small>'''</div>
+
<div style="border-bottom:1px solid #9a9a9a; padding:0.5em 0.5em; font-size:108%;text-align:left;">'''Human readable notes (optional) <small>+ URLs</small>'''</div>
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;">
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;">
 
{|
 
{|
| {{{field|AuthorDetail|placeholder=Author: information/note|size=65}}}
+
<!-- | {{{field|AuthorDetail|placeholder=Author: information/note|size=66}}}
 
|-
 
|-
<!-- DEPRECATED, REMOVE LATER
+
| {{{field|SubjectsDetail|placeholder=Subject(s) information/note|size=66}}}
| {{{field|SubjectDetail|placeholder=Single subject information/note|size=65}}} '''or'''
 
 
|- -->
 
|- -->
| {{{field|SubjectsDetail|placeholder=Subject(s) information/note|size=65}}}
+
| {{{field|source_details|placeholder=Source information/note|size=66}}}
|-
 
| {{{field|ConstitutesDetail|placeholder=Constitutes: information/note|size=65}}}
 
 
|-
 
|-
| {{{field|SourceDetail|placeholder=Source information/note|size=65}}}
+
| '''Source URL:''' {{{field|source_URL|placeholder=http://...|size=60}}}
 
|-
 
|-
| '''Source URL:''' {{{field|SourceURL|placeholder=http://...|size=65}}}
+
| '''iFrame URL:''' {{{field|iframe_URL|placeholder=URL of iFrame page|size=60}}}
 
|}
 
|}
 
</div>
 
</div>
Line 87: Line 78:
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
 
{| Style="text-align:left;"
 
{| Style="text-align:left;"
! width="22%" |AuthorType:  
+
! width="22%" |author_type:  
| {{{field|Author5|placeholder=For unusual authorship (e.g. disputed)}}}
+
| {{{field|author_type|placeholder=For unusual authorship (e.g. disputed)}}}
<!-- DEPRECATED
 
|-
 
!  Badge:
 
| | {{{field|Badge|rows=1|placeholder=Author/source badge if applicable}}} -->
 
 
|-
 
|-
 
! Image:
 
! Image:
| {{{field|Image|placeholder=Recommended. A relevant image|uploadable}}}
+
| {{{field|image|placeholder=Recommended. A relevant image|uploadable}}}
 
|-
 
|-
 
! Local:
 
! Local:
| {{{field|LocalCopy|placeholder=File:PDF-of-this.pdf|uploadable}}}
+
| {{{field|local|placeholder=File:PDF-of-this.pdf|uploadable}}}
 
|}
 
|}
 
</div>
 
</div>
Line 107: Line 94:
 
{|
 
{|
 
! ! width="25%" style="text-align:left;"| Wikispooks comment:
 
! ! width="25%" style="text-align:left;"| Wikispooks comment:
| {{{field|Comment|input type=textarea|rows=5|placeholder=Recommended. Explain in wikitext why this document is relevant to Wikispooks...|autogrow}}}
+
| {{{field|comment|input type=textarea|rows=5|placeholder=Recommended. Explain in wikitext why this document is relevant to Wikispooks...|autogrow}}}
 
|-
 
|-
 
! style="text-align:left;" | Author's note:
 
! style="text-align:left;" | Author's note:
| {{{field|AuthorsNote|input type=textarea|rows=4|placeholder=A note from the author(s)| autogrow}}}
+
| {{{field|authors_note|input type=textarea|rows=4|placeholder=A note from the author(s)| autogrow}}}
 
|-
 
|-
 
! style="text-align:left;" | General note:
 
! style="text-align:left;" | General note:
| {{{field|Note|input type=textarea|rows=3|placeholder=Extra headerless subsection. Use it for any further information that has not found a place elsewhere.|autogrow}}}
+
| {{{field|note|input type=textarea|rows=3|placeholder=Extra headerless subsection. Use it for any further information that has not found a place elsewhere.|autogrow}}}
 
|}
 
|}
 
</div>
 
</div>
Line 120: Line 107:
 
{| cellspacing="0" cellpadding="0" style="margin:1em 0em 1em; width:100%"
 
{| cellspacing="0" cellpadding="0" style="margin:1em 0em 1em; width:100%"
 
| style="width:100%; vertical-align:top; border:1px solid #9a9a9a; background-color:#f6f6f6;" |
 
| style="width:100%; vertical-align:top; border:1px solid #9a9a9a; background-color:#f6f6f6;" |
<div style="border-bottom:1px solid #9a9a9a;  padding:0.5em 0.5em; font-size:108%;text-align:left;">'''Classified documents'''</div>
+
<div style="border-bottom:1px solid #9a9a9a;  padding:0.5em 0.5em; font-size:108%;text-align:left;">[[Image:Classified.png|160px]]&nbsp;&nbsp;&nbsp;&nbsp;'''Classified documents'''</div>
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
 
{| style="text-align:left;"
 
{| style="text-align:left;"
 +
! style="text-align:right;" | Leaked:
 +
| width=40%  | Leaked?:
 +
| {{{field|leaked|input type=checkbox|default=false}}}
 +
|-
 
! width="40%" | Declassified?:  
 
! width="40%" | Declassified?:  
| {{{field|Declassified|input type=checkbox}}}
+
| {{{field|declassified|input type=checkbox}}}
 
|-
 
|-
 
! When?:  
 
! When?:  
| {{{field|DeclassifiedDate|input type=Date|placeholder=YYYY-MM-DD}}}
+
| {{{field|declassified_date|input type=date}}}
 
|-
 
|-
 
! Original classification:  
 
! Original classification:  
Line 133: Line 124:
 
|-
 
|-
 
! Details:  
 
! Details:  
|{{{field|ClassificationDetail|placeholder=Any relevant details}}}
+
|{{{field|classification_detail|placeholder=Any relevant details}}}
 
|-
 
|-
 
|}
 
|}
Line 140: Line 131:
 
{| cellspacing="0" cellpadding="0" style="margin:1em 0em 1em; width:100%"
 
{| cellspacing="0" cellpadding="0" style="margin:1em 0em 1em; width:100%"
 
| style="width:50%; vertical-align:top; border:1px solid #9a9a9a; background-color:#f6f6f6;" |
 
| style="width:50%; vertical-align:top; border:1px solid #9a9a9a; background-color:#f6f6f6;" |
<div style="border-bottom:1px solid #9a9a9a;  padding:0.5em 0.5em; font-size:108%;text-align:left;">[[Image:WsIcon32.png|20px]] '''WikiSpooks Pagenamess'''</div>
+
<div style="border-bottom:1px solid #9a9a9a;  padding:0.5em 0.5em; font-size:108%;text-align:left;">[[Image:WsIcon32.png|20px]] '''Wikispooks Pagenames'''</div>
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
 
{| Style="text-align:left;"
 
{| Style="text-align:left;"
<!-- DEPRECATED
+
! Recipient(s):
| Subject 2:
+
| {{{field|recipients|placeholder=for letters, emails, speeches etc.}}}
| {{{field|Subject2|placeholder=Deprecated. Use Basic-tab 'Subjects'}}}
 
|-
 
| Subject 3:
 
| {{{field|Subject3|placeholder=Deprecated. Use Basic-tab 'Subjects'}}}
 
|-
 
| Subject 4:
 
| {{{field|Subject4|placeholder=Deprecated. Use Basic-tab 'Subjects'}}}
 
|-
 
| Subject 5:
 
| {{{field|Subject5|placeholder=Deprecated. Use Basic-tab 'Subjects'}}}
 
|- -->
 
| Author 2:
 
| {{{field|Author2|property=Is author}}}
 
|-
 
| Author 3:
 
| {{{field|Author3|property=Is author}}}
 
|-
 
| Author 4:
 
| {{{field|Author4|property=Is author}}}
 
|-
 
| Constitutes 2:
 
| {{{field|Constitutes2|property=Constitutes}}}
 
|-
 
! Recipient:
 
| {{{field|Recipient|property=Is recipient|placeholder=for letters, emails, speeches etc.}}}
 
|-
 
| Recipient 2:
 
| {{{field|Recipient2|property=Is recipient}}}
 
|-
 
| Recipient 3:
 
| {{{field|Recipient3|property=Is recipient}}}
 
|-
 
| Recipient 4:
 
| {{{field|Recipient4|property=Is recipient}}}
 
 
|-
 
|-
 
| Source 2:
 
| Source 2:
Line 186: Line 143:
 
|-
 
|-
 
| Translator:
 
| Translator:
| {{{field|Translator|placeholder=For translations}}}
+
| {{{field|translators|placeholder=For translations}}}
 
|-
 
|-
 
| Original language:
 
| Original language:
| {{{field|OriginalLanguage|input type=combobox|values from property=Has originalLanguage|placeholder=French, Russian etc.}}}
+
| {{{field|original_language|input type=combobox|values from property=Has originalLanguage|placeholder=French, Russian etc.}}}
 
|}
 
|}
 
</div>
 
</div>
Line 197: Line 154:
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;">
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;">
 
{|
 
{|
<!-- DEPRECATED
+
| Source 2 URL: {{{field|source_URL2|placeholder=A URL }}}
| {{{field|Subject2Detail|placeholder=Deprecated. Use Basic-tab 'SubjectsDetail'|size=60}}}
 
|-
 
| {{{field|Subject3Detail|placeholder=Deprecated. Use Basic-tab 'SubjectsDetail'|size=60}}}
 
|-
 
| {{{field|Subject4Detail|placeholder=Deprecated. Use Basic-tab 'SubjectsDetail'|size=60}}}
 
|-
 
| {{{field|Subject5Detail|placeholder=Deprecated. Use Basic-tab 'SubjectsDetail'|size=60}}}
 
|- -->
 
| {{{field|Author2Detail|placeholder=Author 2 information/note}}}
 
|-
 
| {{{field|Author3Detail|placeholder=Author 3 information/note}}}
 
|-
 
| {{{field|Author4Detail|placeholder=Author 4 information/note}}}
 
|-
 
| &nbsp;
 
 
|-
 
|-
| {{{field|RecipientDetails|placeholder=Recipient information/note}}}
+
| {{{field|translatorsDetail|placeholder=Translator information/note}}}
|-
 
| {{{field|Recipient2Detail|placeholder=Recipient 2 information/note}}}
 
|-
 
| {{{field|Recipient3Detail|placeholder=Recipient 3 information/note}}}
 
|-
 
| {{{field|Recipient4Detail|placeholder=Recipient 4 information/note}}}
 
|-
 
| {{{field|SourceDetail2|placeholder=Source 2 information/note}}}
 
|-
 
| Source 2 URL: {{{field|SourceURL2|placeholder=A URL }}}
 
|-
 
| {{{field|TranslatorDetail|placeholder=Translator information/note}}}
 
 
|}
 
|}
 
</div>
 
</div>
Line 235: Line 165:
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
 
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
 
{|  
 
{|  
| {{{field|SeeAlso|input type=textarea|rows=6|placeholder=Extra links of relevance. If possible, link them in from the Comment section instead.|autogrow}}}
+
| {{{field|see_also|input type=textarea|rows=6|placeholder=Extra links of relevance. If possible, link them in from the Comment section instead.|autogrow}}}
 
|}
 
|}
 
</div>
 
</div>
Line 254: Line 184:
 
===Wikitext tab===
 
===Wikitext tab===
 
Use this section for the main body of the document and in exactly the same way as you would use the regular text edit box without a form. The document references and category tags are placed at the end of the text in this section
 
Use this section for the main body of the document and in exactly the same way as you would use the regular text edit box without a form. The document references and category tags are placed at the end of the text in this section
 
  
 
<headertabs />
 
<headertabs />

Latest revision as of 17:19, 14 October 2018


This is the "Document" form.
To create a page with this form, enter the page name below.
If a page with that name already exists, the form will be used to edit it.