Jump to content

Template:A: Difference between revisions

From LithoGraphica
Reversedragon (talk | contribs)
m allow Ontology talk links
Reversedragon (talk | contribs)
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|}}}{{{EC|}}}|{{{E|}}}{{{EC|}}}]] | #default = [[Ontology:{{{E|}}}{{{EC|}}}|{{{1|}}}]] }}{{#if:{{{datetime|}}}|</time>|</span>}}</onlyinclude></includeonly><!--
<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|}}}{{{EC|}}}|{{{E|}}}{{{EC|}}}]]
     | {{{1|}}}{{{EC|}}}{{{9k|}}} = [[Ontology:{{{E|}}}|{{{E|}}}]]
     | #default = [[Ontology:{{{E|}}}{{{EC|}}}|{{{1|}}}]]
    | {{{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

wikidata.org

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 to
  • EC - Ontology talk entry to link to
  • href - external URL to link to
  • datetime - date associated with page linked to; publication date, inception date, whatever date is most important.