Difference between revisions of "Template:Agent"

From Wikispooks
Jump to navigation Jump to search
(Rejig)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>A sub-template of [[template:DocProv]]. If ''name'' is non-empty, it displays a link to it, semantically marked up with a ''predicate'' and an optional explanatory ''detail'' in brackets afterwards:<br/>
+
<noinclude>[[category:Document Templates]]A sub-template of [[template:DocProv]]. If '''name''' is non-empty, it displays a link to it, semantically marked up with a '''predicate'''.<br/>
<nowiki>{{Agent|Predicate|Name|Notes}}</nowiki>
+
The optional last parameter is a human-readable explanatory '''detail''' placed in brackets afterwards.<br/><br/>
</noinclude><includeonly>{{#if: {{{3|}}}|[[{{{1}}}::{{{2}}}]]{{#if: {{{3|}}}|&nbsp;({{{3}}})|}}</includeonly>
+
Usage:<br/>
 +
:{{t|<nowiki>{{Agent|Predicate|Name|Detail}}</nowiki>}}
 +
</noinclude><includeonly>{{#if: {{{2|}}}|[[{{{1}}}::{{{2}}}]]{{#if: {{{3|}}}|&nbsp;({{{3}}})|}}}}</includeonly>

Latest revision as of 09:35, 6 December 2013

A sub-template of template:DocProv. If name is non-empty, it displays a link to it, semantically marked up with a predicate.
The optional last parameter is a human-readable explanatory detail placed in brackets afterwards.

Usage:

{{Agent|Predicate|Name|Detail}}