Difference between revisions of "Best Practices for Forms and Templates"

From edegan.com
Jump to navigation Jump to search
(Created page with "Check that you did the following: *Put the category in the template itself *Make sure that there is a default form associated with the template <nowiki> {{#default_form:Mc...")
 
Line 1: Line 1:
 +
==Links==
 +
 +
*https://www.semantic-mediawiki.org/wiki/Help:Properties_and_types
 +
 +
==Notes==
 +
 
Check that you did the following:
 
Check that you did the following:
 
*Put the category in the template itself
 
*Put the category in the template itself

Revision as of 18:28, 27 February 2017

Links

Notes

Check that you did the following:

  • Put the category in the template itself
  • Make sure that there is a default form associated with the template
 {{#default_form:McNair Projects}}
 [[category:McNair Projects]]
 

Use simple assignment whenever possible:

| label6       = Start Date
| data6        =  

If you have to use an array ref, here's the syntax:

| label5      = Owner
| data5       =