Difference between revisions of "Form:Source"

From Discourse DB
Jump to navigation Jump to search
(Added "show on select")
 
(50 intermediate revisions by 11 users not shown)
Line 2: Line 2:
 
This is the 'Source' form. Enter the name of the source (newspaper, magazine, online magazine or blog) you want to add here. If that source already exists on this site, you will be sent to the form for editing that page; otherwise, you will be sent to the form for adding the page.
 
This is the 'Source' form. Enter the name of the source (newspaper, magazine, online magazine or blog) you want to add here. If that source already exists on this site, you will be sent to the form for editing that page; otherwise, you will be sent to the form for adding the page.
  
{{#forminput:Source|25||Create or edit source|}}
+
{{#forminput:form=Source|size=25|button text=Create or edit source|autocomplete on category=Sources}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<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>
 +
 
{{{for template|wikipedia|multiple|label=Wikipedia articles}}}
 
{{{for template|wikipedia|multiple|label=Wikipedia articles}}}
 
'''Wikipedia article title (leave blank if equal to this page name):''' {{{field|1}}}
 
'''Wikipedia article title (leave blank if equal to this page name):''' {{{field|1}}}
Line 10: Line 11:
  
 
{{{for template|Source}}}
 
{{{for template|Source}}}
{| class="formtable"
+
{|
 
! Publication type:
 
! Publication type:
 
| {{{field|type|show on select=Newspaper=>circulation;Magazine=>circulation;Blog=>unique-visitors;Online magazine=>unique-visitors}}}
 
| {{{field|type|show on select=Newspaper=>circulation;Magazine=>circulation;Blog=>unique-visitors;Online magazine=>unique-visitors}}}
 
|}
 
|}
 +
 
<div id="circulation">
 
<div id="circulation">
{| class="formtable"
+
{|
 
! Circulation:
 
! Circulation:
 
| {{{field|circulation}}}
 
| {{{field|circulation}}}
 
|}
 
|}
 
</div>
 
</div>
 +
 
<div id="unique-visitors">
 
<div id="unique-visitors">
{| class="formtable"
+
{|
 
! Monthly unique visitors:
 
! Monthly unique visitors:
 
| {{{field|monthly unique visitors}}}
 
| {{{field|monthly unique visitors}}}
 
|}
 
|}
 
</div>
 
</div>
 +
 
{| class="formtable"
 
{| class="formtable"
 
! Country:
 
! Country:
| {{{field|country|autocomplete}}}
+
| {{{field|country|input type=combobox}}}
 
|-
 
|-
 
! Language:
 
! Language:
Line 40: Line 44:
 
'''Free text:'''
 
'''Free text:'''
  
{{{standard input|free text}}}
+
{{{standard input|free text|class=fullTextarea}}}
  
  

Latest revision as of 16:55, December 13, 2018

This is the 'Source' form. Enter the name of the source (newspaper, magazine, online magazine or blog) you want to add here. If that source already exists on this site, you will be sent to the form for editing that page; otherwise, you will be sent to the form for adding the page.