Form:Author: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Form page is now the starting point for adding data)
mNo edit summary
 
(23 intermediate revisions by 4 users not shown)
Line 2: Line 2:
This is the 'Author' form. Enter the name of the author you want to add here. If this author 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 'Author' form. Enter the name of the author you want to add here. If this author 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:Author|25||Add or edit author|}}
{{#forminput:form=Author|autocomplete on category=Authors}}
</noinclude>
</noinclude><includeonly>
<includeonly>
{{{info|page name=<Author[First name]> <Author[Last name]>}}}
<h2>Author: {{{field|page title}}}</h2>
<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}}}
  <strong>Wikipedia article title (leave blank if equal to this page name):</strong> {{{field|1}}}
'''Wikipedia article title (leave blank if equal to this page name):''' {{{field|1}}}
{{{end template}}}
{{{end template}}}


{{{for template|Author}}}
{{{for template|Author}}}
  <p><strong>First name:</strong> {{{field|first name}}}</p>
'''First name:''' {{{field|first name}}}
  <p><strong>Last name:</strong> {{{field|last name}}}</p>
 
  <p><strong>Political affiliation:</strong> {{{field|political affiliation}}}</p>
'''Last name:''' {{{field|last name}}}
 
'''Political affiliation:''' {{{field|political affiliation|input type=combobox}}}
{{{end template}}}
{{{end template}}}
</includeonly>
</includeonly>

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

This is the 'Author' form. Enter the name of the author you want to add here. If this author 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.