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

From edegan.com
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
*https://www.semantic-mediawiki.org/wiki/Help:Properties_and_types
 
*https://www.semantic-mediawiki.org/wiki/Help:Properties_and_types
 +
*https://www.mediawiki.org/wiki/Extension:Page_Forms/Defining_forms
  
 
==Conventions==
 
==Conventions==
Line 50: Line 51:
 
==Temp Links to Project Pages==
 
==Temp Links to Project Pages==
  
 +
The following pages need their templates fixing:
 
*[[Accelerator Industry Classification (Data)]]
 
*[[Accelerator Industry Classification (Data)]]
 
*[[Accelerator Seed List (Data)]]
 
*[[Accelerator Seed List (Data)]]
Line 59: Line 61:
 
*[[Christy Warden (Twitter Crawler Application 1)]]
 
*[[Christy Warden (Twitter Crawler Application 1)]]
 
*[[Christy Warden (Twitter Crawler Application 2)]]
 
*[[Christy Warden (Twitter Crawler Application 2)]]
*[[Clinton/Trump Debate]]
 
 
*[[Current Entrepreneurship and Innovation Policies (Wiki Page)]]
 
*[[Current Entrepreneurship and Innovation Policies (Wiki Page)]]
 
*[[E&I Governance Policy Report]]
 
*[[E&I Governance Policy Report]]
*[[Education Innovation Clusters]]
 
*[[Emerging Ecosystems]]
 
*[[Emerging Entrepreneurship Hubs]]
 
 
*[[Enclosing Circle Algorithm]]
 
*[[Enclosing Circle Algorithm]]
*[[Entrepreneurship Ecosystems (Wiki Page)]]
 
 
*[[Eventbrite Webcrawler (Tool)]]
 
*[[Eventbrite Webcrawler (Tool)]]
*[[Fannin Innovation Studio]]
 
*[[Goldilocks (Academic Paper)]]
 
 
*[[Google Scholar Crawler]]
 
*[[Google Scholar Crawler]]
 
*[[Governance Measures]]
 
*[[Governance Measures]]
Line 75: Line 70:
 
*[[Govtrack Webcrawler (Wiki Page)]]
 
*[[Govtrack Webcrawler (Wiki Page)]]
 
*[[Guide to Patent Litigation]]
 
*[[Guide to Patent Litigation]]
*[[HHV's NextHIT]]
 
 
*[[Houston Accelerators (issue brief)]]
 
*[[Houston Accelerators (issue brief)]]
 
*[[Houston Accelerators and Incubators (Report)]]
 
*[[Houston Accelerators and Incubators (Report)]]
*[[HTC]]
 
 
*[[Industry Classifier]]
 
*[[Industry Classifier]]
*[[Innovation Policy (Wiki Page)]]
 
 
*[[LBO Lit Review]]
 
*[[LBO Lit Review]]
 
*[[Matching VentureOne (Data)]]
 
*[[Matching VentureOne (Data)]]
*[[Form:McNair Projects]]
 
*[[McNair Projects]]
 
 
*[[Mechanical Turk (Tool)]]
 
*[[Mechanical Turk (Tool)]]
*[[Micro-Geography (Academic Paper)]]
 
*[[Micro-Geography (Data)]]
 
 
*[[Moroccan Parliament Web Crawler]]
 
*[[Moroccan Parliament Web Crawler]]
*[[Muslim Entrepreneurs (Issue Brief)]]
 
*[[Navigating the Entrepreneurship Ecosystem (Vlog)]]
 
*[[NVC]]
 
 
*[[Overconfidence Papers]]
 
*[[Overconfidence Papers]]
*[[OwlSpark]]
 
 
*[[Patent Data (Wiki Page)]]
 
*[[Patent Data (Wiki Page)]]
*[[Patent Reform Acts (Issue Brief)]]
 
*[[Patent Thicket Literature Review (Academic Paper)]]
 
*[[Patent Trolls (Academic Paper)]]
 
 
*[[Patent Variables (Wiki Page)]]
 
*[[Patent Variables (Wiki Page)]]
*[[Patstats Documentation]]
 
*[[RED Labs]]
 
*[[Redhouse Associates]]
 
 
*[[SBA Investigation (Report)]]
 
*[[SBA Investigation (Report)]]
 
*[[Shelby Bice (Redesigning Patent Database)]]
 
*[[Shelby Bice (Redesigning Patent Database)]]
*[[Spotlight on Innovation: Space]]
 
*[[START Houston]]
 
 
*[[Start Up Address Finder Algorithm (Tool)]]
 
*[[Start Up Address Finder Algorithm (Tool)]]
 
*[[Start-Up Guide (Issue Brief)]]
 
*[[Start-Up Guide (Issue Brief)]]
 
*[[Start-Ups of Houston (Map)]]
 
*[[Start-Ups of Houston (Map)]]
*[[Station Houston]]
 
*[[Status of Accelerators in Houston (Issue Brief)]]
 
 
*[[Stock and Flows of Publicly Traded Companies (Report)]]
 
*[[Stock and Flows of Publicly Traded Companies (Report)]]
*[[Strategic Innovation Investment and the U.S. Military (Policy Report)]]
 
*[[SURGE]]
 
*[[Tabled]]
 
*[[TechStars]]
 
*[[The Affordable Care Act and Small Businesses (Academic Paper)]]
 
*[[The Brexit and Entrepreneurship (Report)]]
 
*[[The Future of Healthcare and Small Businesses]]
 
 
*[[The Matcher (Tool)]]
 
*[[The Matcher (Tool)]]
*[[TMCx]]
 
*[[Trans-Pacific Partnership (Wiki Page)]]
 
 
*[[Tshirt!]]
 
*[[Tshirt!]]
 
*[[Twitter Webcrawler (Tool)]]
 
*[[Twitter Webcrawler (Tool)]]
Line 128: Line 93:
 
*[[URL Finder (Tool)]]
 
*[[URL Finder (Tool)]]
 
*[[Venture Capital (Data)]]
 
*[[Venture Capital (Data)]]
*[[Web Platform (Tool)]]
 
 
*[[Women in Entrepreneurship (Issue Brief)]]
 
*[[Women in Entrepreneurship (Issue Brief)]]
*[[Women in Innovation and Entrepreneurship: 2nd In Blog Series]]
+
[[Category:McNair Admin]]
*[[Women in Innovation and Entrepreneurship: 3rd in Blog Series]]
 
*[[YCombinator]]
 

Latest revision as of 17:58, 21 March 2017

Links

Conventions

You can assign the type of a property and restrict a property's value by creating a page for that property.

 This is a property of type [[Has type::Text]].
 
 The allowed values for this property are:
 * [[Allows value::Idea]]
 * [[Allows value::In development]]
 * [[Allows value::Draft]]
 

Also, the following create a link to a property page and show its information:

 [[Property:Has_paper_status]]
 {{Property:Has_paper_status}}
 


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        = [[Start date::{{{Start date|}}}]] 
 

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

 | label5      = Owner
 | data5       = {{#arraymap:{{{Owner|}}}|,|x|[[Owner::x]]}}
 

Temp Links to Project Pages

The following pages need their templates fixing: