Difference between revisions of "Template:ACHeader"

From Species-ID
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{#var:renderAs}}|RDF = | #default = {{#switch: {{{2}}} | 1 = = | 2 = ==| 3 = ===}}{{{1|}}}{{#switch: {{{2}}} | 1 = = | 2 = ==|3 = ===}} }}
+
<noinclude><nowiki>For RDF output as RDF/N3 comment, i.e. prepended by #. Might break if more than one line in {{{1}}}. Otherwise, surround with appropriate number of = as given by {{{2}}</nowiki></noinclude>
 +
{{#switch:{{#var:renderAs}}|RDF = <nowiki>##### </nowiki>{{{1}}}<nowiki> #####</nowiki><br/>| #default = {{#switch: {{{2}}} | 1 = = | 2 = ==| 3 = ===}}{{{1|}}}{{#switch: {{{2}}} | 1 = = | 2 = ==|3 = ===}} }}

Latest revision as of 11:28, 24 August 2012

For RDF output as RDF/N3 comment, i.e. prepended by #. Might break if more than one line in {{{1}}}. Otherwise, surround with appropriate number of = as given by {{{2}}