Difference between revisions of "Template:Agent"

From Wikispooks
Jump to navigation Jump to search
(Try to generalize)
(Rejig)
Line 1: Line 1:
<noinclude>A sub-template of [[template:DocProv]] used to display people's names and details (e.g. authors, recipients & subjects of documents):<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'' and an optional explanatory ''detail'' in brackets afterwards:<br/>
<nowiki>{{Agent|Predicate|Name|Notes|separator}}</nowiki>
+
<nowiki>{{Agent|Predicate|Name|Notes}}</nowiki>
</noinclude><includeonly>{{#if: {{{3|}}}|{{{4|}}}|}}[[{{{1}}}::{{{2}}}]]{{#if: {{{3|}}}|&nbsp;({{{3}}})|}}</includeonly>
+
</noinclude><includeonly>{{#if: {{{3|}}}|[[{{{1}}}::{{{2}}}]]{{#if: {{{3|}}}|&nbsp;({{{3}}})|}}</includeonly>

Revision as of 02:36, 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 and an optional explanatory detail in brackets afterwards:
{{Agent|Predicate|Name|Notes}}