Form:Source: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Standardizing to new form style)
(Removed standard inputs other than free text)
 
(87 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the 'Source' form; edit the page to see the source code. You can add data with this form [[Special:AddPage/Source|here]].
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.
</noinclude>
 
<includeonly>
{{#forminput:form=Source|size=25|button text=Create or edit source|autocomplete on category=Sources}}
<h2>Source: {{{field|page title}}}</h2>
</noinclude><includeonly>
<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}}}
  <p><strong>Wikipedia article title (leave blank if equal to this page name):</strong> {{{field|1}}}</p>
'''Wikipedia article title (leave blank if equal to this page name):''' {{{field|1}}}
{{{end template}}}
{{{end template}}}


{{{for template|Source}}}
{{{for template|Source}}}
  <p><strong>Publication type:</strong> {{{field|type}}}</p>
{|
  <p><strong>Circulation:</strong> {{{field|circulation}}}</p>
! Publication type:
  <p><strong>Monthly unique visitors:</strong> {{{field|monthly unique visitors}}}</p>
| {{{field|type|show on select=Newspaper=>circulation;Magazine=>circulation;Blog=>unique-visitors;Online magazine=>unique-visitors}}}
  <p><strong>Country:</strong> {{{field|country}}}</p>
|}
  <p><strong>Language:</strong> {{{field|language}}}</p>
 
  <p><strong>URL:</strong> {{{field|url}}}</p>
<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}}}
{{{end template}}}
'''Free text:'''
{{{standard input|free text|class=fullTextarea}}}
</includeonly>
</includeonly>

Latest revision as of 02:36, February 24, 2021

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.