Form:Source: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Test of "include if empty")
No edit summary
(98 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<h2>Add a source</h2>
<noinclude>
Please fill out the following fields:
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.


  <p><strong>Title:</strong> {{{field|page title}}}</p>
{{#forminput:form=Source|size=25|button text=Create or edit source|autocomplete on category=Sources}}
</noinclude><includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>


{{{for template|Source|include if empty}}}
{{{for template|wikipedia|multiple|label=Wikipedia articles}}}
  <p><strong>Publication type:</strong> {{{field|type}}}</p>
'''Wikipedia article title (leave blank if equal to this page name):''' {{{field|1}}}
  <p><strong>Circulation:</strong> {{{field|circulation}}}</p>
{{{end template}}}
  <p><strong>Monthly unique visitors:</strong> {{{field|monthly unique visitors}}}</p>
 
  <p><strong>Country:</strong> {{{field|country}}}</p>
{{{for template|Source}}}
  <p><strong>Language:</strong> {{{field|language}}}</p>
{|
  <p><strong>URL:</strong> {{{field|url}}}</p>
! Publication type:
| {{{field|type|show on select=Newspaper=>circulation;Magazine=>circulation;Blog=>unique-visitors;Online magazine=>unique-visitors}}}
|}
 
<div id="circulation">
{|
! Circulation:
| {{{field|circulation}}}
|}
</div>
 
<div id="unique-visitors">
{|
! Monthly unique visitors:
| {{{field|monthly unique visitors}}}
|}
</div>
 
{| class="formtable"
! Country:
| {{{field|country|input type=combobox}}}
|-
! Language:
| {{{field|language}}}
|-
! URL:
| {{{field|url}}}
|}
{{{end template}}}
 
'''Free text:'''
 
{{{standard input|free text|class=fullTextarea}}}
 
 
{{{standard input|summary}}}
 
{{{standard input|minor edit}}} {{{standard input|watch}}}
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
</includeonly>

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.