Difference between revisions of "Template:Agent"

From Wikispooks
Jump to navigation Jump to search
(Rejig)
(Clarify)
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>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 last parameter, an explanatory ''detail'' placed in brackets afterwards is optional.<br/>
 +
<nowiki>{{Agent|Predicate|Name|Detail}}</nowiki>
 
</noinclude><includeonly>{{#if: {{{3|}}}|[[{{{1}}}::{{{2}}}]]{{#if: {{{3|}}}|&nbsp;({{{3}}})|}}</includeonly>
 
</noinclude><includeonly>{{#if: {{{3|}}}|[[{{{1}}}::{{{2}}}]]{{#if: {{{3|}}}|&nbsp;({{{3}}})|}}</includeonly>

Revision as of 02:37, 2 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 last parameter, an explanatory detail placed in brackets afterwards is optional.
{{Agent|Predicate|Name|Detail}}