code: public List<String> getTemplateNamesFromPage(String pageTitle) throws WikiApiException{
      	Page p=null;
      	try{
      		p = wiki.getPage(pageTitle);
      	}catch (WikiApiException e) {
      		return new ArrayList<String>();
  		}
      	return getTemplateNamesFromPage(p);
      }
docs: Returns the names of all templates contained in the specified page.
  
  @param pageTitle
  the title of the page for which the templates should be
  retrieved
  @return A List with the names of the templates contained in the specified
  page
  @throws WikiApiException
  If there was any error retrieving the page object (most
  likely if the templates are corrupted)