Difference between revisions of "Help:Using Templates"

From ACL Wiki
Jump to navigation Jump to search
 
 
Line 11: Line 11:
 
* <code><nowiki>{{subst:TE Corpora}}</nowiki></code>
 
* <code><nowiki>{{subst:TE Corpora}}</nowiki></code>
 
:used for adding a new ''corpus'' resource to the [[Textual Entailment Portal]].
 
:used for adding a new ''corpus'' resource to the [[Textual Entailment Portal]].
* <code><nowiki>{{subst:TE Knowledge Collections}}</nowiki></code>
+
* <code><nowiki>{{subst:TE Knowledge Collections and Datasets}}</nowiki></code>
:used for adding a new ''knowledge collection'' resource to the [[Textual Entailment Portal]].
+
:used for adding a new ''knowledge collection'' or ''dataset'' resource to the [[Textual Entailment Portal]].
* <code><nowiki>{{subst:TE Knowledge Tools}}</nowiki></code>
+
* <code><nowiki>{{subst:TE Tools and Software}}</nowiki></code>
:used for adding a new ''tool'' resource to the [[Textual Entailment Portal]].
+
:used for adding a new ''tool'' or ''software'' resource to the [[Textual Entailment Portal]].
  
 
===Other Resource Templates (non-specific to any Portal)===
 
===Other Resource Templates (non-specific to any Portal)===
 
* <code><nowiki>{{subst:Corpora}}</nowiki></code>
 
* <code><nowiki>{{subst:Corpora}}</nowiki></code>
 
:used for adding a new ''corpus'' resource.
 
:used for adding a new ''corpus'' resource.
* <code><nowiki>{{subst:Knowledge Collections}}</nowiki></code>
+
* <code><nowiki>{{subst:Knowledge Collections and Datasets}}</nowiki></code>
:used for adding a new ''knowledge collection'' resource.
+
:used for adding a new ''knowledge collection'' or ''dataset'' resource.
* <code><nowiki>{{subst:Knowledge Tools}}</nowiki></code>
+
* <code><nowiki>{{subst:Tools and Software}}</nowiki></code>
:used for adding a new ''tool'' resource.
+
:used for adding a new ''tool'' or ''software'' resource.
  
 
==Example for creating a new Textual Entailment Resource Page==
 
==Example for creating a new Textual Entailment Resource Page==

Latest revision as of 17:25, 16 November 2006

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 and Datasets}}
used for adding a new knowledge collection or dataset resource to the Textual Entailment Portal.
  • {{subst:TE Tools and Software}}
used for adding a new tool or software 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 and Datasets}}
used for adding a new knowledge collection or dataset resource.
  • {{subst:Tools and Software}}
used for adding a new tool or software 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.