Difference between revisions of "Template:DecodeTitleFormula"
Jump to navigation
Jump to search
(Created page with "<noinclude> Use this template to convert a text formula that includes a <subject>, <predicate>, and <object> (in the sense of RDF) and their variations into a title of a page....") |
|||
Line 10: | Line 10: | ||
* <code><nowiki>|object=</nowiki></code> - the object of the formulation. Can be a term or any other value. | * <code><nowiki>|object=</nowiki></code> - the object of the formulation. Can be a term or any other value. | ||
* <code><nowiki>|predicate=</nowiki></code> - the predicate of the formulation. Optional. Can be a term or any other value. | * <code><nowiki>|predicate=</nowiki></code> - the predicate of the formulation. Optional. Can be a term or any other value. | ||
− | |||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
-->{{#if: {{{title|}}}<!-- | -->{{#if: {{{title|}}}<!-- | ||
-->|{{{title|}}}<!-- | -->|{{{title|}}}<!-- | ||
− | -->|{{DecodeTextFormula|formula={{{formula|}}}|subject={{{subject|}}}|object={{{object|}}}|predicate={{{predicate | + | -->|{{DecodeTextFormula|formula={{{formula|}}}|subject={{{subject|}}}|object={{{object|}}}|predicate={{{predicate|}}}|}}<!-- |
-->}}<!-- if | -->}}<!-- if | ||
--></includeonly> | --></includeonly> |
Latest revision as of 22:22, 16 January 2023
Use this template to convert a text formula that includes a <subject>, <predicate>, and <object> (in the sense of RDF) and their variations into a title of a page. It calls Template:DecodeTextFormula to process the conversion of the variable into text.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely returns a value.
Parameters:
|title=
- the title; if given, all else is ignored and the title is returned. Otherwise|formula=
- the term.|subject=
- the singular form of the subject of the formulation. Must be a term (definitional topic) registered in the encyclopedia.|object=
- the object of the formulation. Can be a term or any other value.|predicate=
- the predicate of the formulation. Optional. Can be a term or any other value.