Difference between pages "Template:News" and "Form:Person"

(Difference between pages)
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Use like so:
+
This is the 'Person' form.
 +
To add a page with this form, enter the page name below;
 +
if a page with that name already exists, you will be sent to a form to edit that page.
  
<pre>
+
{{#forminput:Person}}
{{News
+
|Summary=Test News Item
+
|News Category=General
+
|Author=Drobbins
+
|Publication Status=Draft
+
|Publication Date=2014/10/16
+
|Icon=File:foobar.jpg
+
}}
+
</pre>
+
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<div class="container" style="margin-top: 20px;"><div class="row"><div class="col-xs-12">
+
 
= {{PAGENAME}} =
+
== Your Funtoo Information ==
<span style="font-size: 1.5em; color: #888; font-variant: small-caps;">News: {{{News Category}}}</span>
+
{{#ifeq:{{{Publication Status|}}|Draft|{{NotYetPublished}}}}{{#set:Summary={{{Summary|}}}|News Category={{{News Category|}}}|Publication Status={{{Publication Status|}}}|Icon={{{Icon|}}}|Publication Date={{{Publication Date|}}}}}{{#arraymap:{{{Author|}}}|,|x|{{#set:Author=User:x|Gravatar MD5={{#show: User:x | ?Gravatar MD5}}}}}}
+
 
__NOTITLE__
 
__NOTITLE__
</div></div><div class="row"><div class="col-xs-12 col-sm-4 col-sm-push-8">
+
'''This form allows you to enter your personal information, so that you have an official presence in the Funtoo Universe.'''
 +
{{{for template|Person}}}
 +
 
 +
== Short Bio ==
 +
 
 +
You can enter a short bio below which will be used for news articles that you write.
 +
 
 
{{TableStart}}
 
{{TableStart}}
<tr><th colspan=2 class="active">Information</th></tr>
+
<tr><th class="active">Bio</th><td>
<tr><th class="active">Date</th><td>{{{Publication Date|}}}</td></tr>
+
{{{field|Bio|textarea|placeholder=Enter a short bio here.}}}
<tr><th class="active">Category</th><td>{{{News Category|}}}</td></tr>
+
</td></tr>{{TableEnd}}
<tr><th class="active">Author Bio</th><td>{{{#show: {{{Author|}} | ?Bio }}}</td></tr>
+
{{{end template}}}
 +
 
 +
== Avatar ==
 +
 
 +
Register with [http://gravatar.com Gravatar.com] using the email address associated with your account to get a cool avatar on your User page as well as [http://forums.funtoo.org our forums].
 +
 
 +
== Location ==
 +
 
 +
{{TableStart}}
 +
<tr><th class="active">Geographic Coordinates</th><td>
 +
This section can be used to identify your geographic location. Enter the name of the location (either as an address or in City, State format) into the ''second field'', and click '''Look up Coordinates'''. Geographic Coordinates will then be automatically be placed in the first field.
 +
 
 +
{{{field
 +
| Geoloc
 +
| input type=googlemaps
 +
| height=300
 +
| width=100%
 +
| autozoom=off
 +
| zoom=2
 +
}}} </td></tr>
 +
<tr><th class="active">Location name</th><td>{{{field|Location name|list}}}</td></tr>
 
{{TableEnd}}
 
{{TableEnd}}
</div><div class="col-xs-12 col-sm-8 col-sm-pull-4">
+
 
 +
=== Blogs ===
 +
 
 +
This feature, not yet enabled, will allow you to manage your blog syndication from your user page.
 +
 
 +
{{TableStart}}
 +
<tr><th class="active">Blogs</th><td>
 +
{{{field|Blogs|holds template}}}
 +
</td></tr>{{TableEnd}}
 +
{{{end template}}}
 +
 
 +
{{{for template|Blog|multiple|add button text=Add blog|embed in field=Person[Blogs]}}}
 +
'''Name:''' {{{field|Name|mandatory}}}
 +
'''URL:''' {{{field|URL|mandatory}}}
 +
'''Syndicate on:''' {{{field|Syndicate||list|input type=checkboxes|values from category=Blog Syndication}}}
 +
{{{end template}}}
 +
 
 +
'''Your personal wiki text''' -- this is where you can enter free-form information about yourself, using MediaWiki syntax. You can also edit this via the "Edit" button after you save your page.
 +
 
 +
{{{standard input|free text|rows=20}}}
 +
 
 +
{{{standard input|summary}}}
 +
 
 +
{{{standard input|minor edit}}} {{{standard input|watch}}}
 +
 
 +
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
</includeonly>
 
</includeonly>

Revision as of 04:14, October 20, 2014

This is the 'Person' form. To add a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.