Help:Using Templates

From ACL Wiki
Revision as of 15:48, 16 November 2006 by Ppantel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Using a template

Templates are wiki pages which can be used in other pages in three ways:

{{Name}} includes the current content of the page "[[Template:Name]]".
{{subst:Name}} inserts the content of the page "[[Template:Name]]" when you save your text.
{{msgnw:Name}} includes the template in raw wiki syntax, like <nowiki> does

Existing Templates

Below is a list of existing templates that may be used:

Textual Entailment Resource Pool Templates

  • {{subst:TE Corpora}}
used for adding a new corpus resource to the Textual Entailment Portal.
  • {{subst:TE Knowledge Collections}}
used for adding a new knowledge collection resource to the Textual Entailment Portal.
  • {{subst:TE Knowledge Tools}}
used for adding a new tool resource to the Textual Entailment Portal.

Other Resource Templates (non-specific to any Portal)

  • {{subst:Corpora}}
used for adding a new corpus resource.
  • {{subst:Knowledge Collections}}
used for adding a new knowledge collection resource.
  • {{subst:Knowledge Tools}}
used for adding a new tool resource.

Example for creating a new Textual Entailment Resource Page

  • Create a new page (see Help:Adding Content);
  • In the edit box (where you add your content), include the following text:
{{subst:Name}}, where Name is the name of the template you wish to include in your page;
  • Save the page by clicking on the Save button;
  • Edit the page (see Help:Editing Content) to add your specific content.