Template:A: Difference between revisions
Appearance
m allow Ontology talk links |
m fix logic for Ontology talk links |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude><{{#if:{{{datetime|}}}|time datetime="{{{datetime|}}}" title="{{#if:{{{title|}}}|{{{title|}}}|{{{datetime|}}}}}"|span {{#if:{{{title|}}}|title="{{{title|}}}"}}}} data-sense="{{{sense|}}}" {{#if:{{{lang|}}}|lang="{{{lang}}}"}}>{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{E|}}}{{{EC|}}}{{{href|}}} = {{{1|}}} | {{{1|}}}{{{E|}}}{{{EC|}}} = [{{{href|}}}] | {{{E|}}}{{{EC|}}} = [{{{href|}}} {{{1|}}}] | {{{1|}}} = [[Ontology:{{{E|}}}{{{ | <includeonly><onlyinclude><{{#if:{{{datetime|}}}|time datetime="{{{datetime|}}}" title="{{#if:{{{title|}}}|{{{title|}}}|{{{datetime|}}}}}"|span {{#if:{{{title|}}}|title="{{{title|}}}"}}}} data-sense="{{{sense|}}}" {{#if:{{{lang|}}}|lang="{{{lang}}}"}}>{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{E|}}}{{{EC|}}}{{{href|}}} = {{{1|}}} | {{{1|}}}{{{E|}}}{{{EC|}}} = [{{{href|}}}] | {{{E|}}}{{{EC|}}} = [{{{href|}}} {{{1|}}}] | {{{1|}}}{{{EC|}}}{{{9k|}}} = [[Ontology:{{{E|}}}|{{{E|}}}]] | {{{E|}}}{{{EC|}}} = [[Ontology talk:9k/{{{9k|}}}|{{{1|}}}]] | {{{E|}}}{{{9k|}}} = [[Ontology talk:{{{EC|}}}|{{{1|}}}]] | #default = [[Ontology:{{{E|}}}|{{{1|}}}]] }}{{#if:{{{datetime|}}}|</time>|</span>}}</onlyinclude></includeonly><!-- | ||
more readable version: | more readable version: | ||
| Line 8: | Line 8: | ||
| {{{1|}}}{{{E|}}}{{{EC|}}} = [{{{href|}}}] | | {{{1|}}}{{{E|}}}{{{EC|}}} = [{{{href|}}}] | ||
| {{{E|}}}{{{EC|}}} = [{{{href|}}} {{{1|}}}] | | {{{E|}}}{{{EC|}}} = [{{{href|}}} {{{1|}}}] | ||
| {{{1|}}} = [[Ontology:{{{E|}}}{{{ | | {{{1|}}}{{{EC|}}}{{{9k|}}} = [[Ontology:{{{E|}}}|{{{E|}}}]] | ||
| | | {{{E|}}}{{{EC|}}} = [[Ontology talk:9k/{{{9k|}}}|{{{1|}}}]] | ||
| {{{E|}}}{{{9k|}}} = [[Ontology talk:{{{EC|}}}|{{{1|}}}]] | |||
| #default = [[Ontology:{{{E|}}}|{{{1|}}}]] | |||
}} | }} | ||
{{#if:{{{datetime|}}}|</time>|</span>}} | {{#if:{{{datetime|}}}|</time>|</span>}} | ||
--> | --> | ||
== Demo == | == Demo == | ||
Revision as of 13:32, 15 October 2026
Demo
Molecular Marxism / meta-Marxism
Description
This is a template for making external links with the parameters in any order. It does not call Template:TTS, although it can be used to improve accessibility by making a page's source text more readable.
Parameters
1- link text (optional)E- Ontology entry to link toEC- Ontology talk entry to link tohref- external URL to link todatetime- date associated with page linked to; publication date, inception date, whatever date is most important.