Difference between revisions of "Template:Fix"
Jump to navigation
Jump to search
(this is inefficient, but it was the only way i could get this not to red-link out. if a more experienced editor knows how to do this with less code, feel free to go at it) |
|||
Line 1: | Line 1: | ||
<sup> | <sup>{{#ifexist: {{{link|{{{text}}}}}} | [[{{{link|{{{text}}}}}}|<span title="{{{tooltip|}}}"><nowiki>[</nowiki>''{{{text}}}''<nowiki>]</nowiki>]]|<span title="{{{tooltip|}}}"><nowiki>[</nowiki>''{{{text|needs fix}}}''<nowiki>]</nowiki>}}</span></sup><includeonly>{{{cat|}}}</includeonly><noinclude> | ||
{{Usage|1=Meta-template for having inline notices. If <code>link</code> is left blank, it will default to whatever the text is | {{Usage|1=Meta-template for having inline notices. If <code>link</code> is left blank, it will default to whatever the text is, as long as that is a valid link. | ||
'''<pre>Chris is literally Hitler.{{Fix|text=a-logging|tooltip=This is unnecessary.}}</pre>''' | |||
- Displays:Chris is literally Hitler.{{Fix|text=a-logging|tooltip=This is unnecessary.}} | |||
- Displays:Chris is literally Hitler.{{Fix|text=a-logging | |||
}} | }} | ||
[[Category: Inline templates|{{PAGENAME}}]]</noinclude> | [[Category: Inline templates|{{PAGENAME}}]]</noinclude> |
Revision as of 13:38, 6 October 2021
[needs fix]
Usage
These usage notes will not be included in articles bearing this template.
Meta-template for having inline notices. If link
is left blank, it will default to whatever the text is, as long as that is a valid link.
Chris is literally Hitler.{{Fix|text=a-logging|tooltip=This is unnecessary.}}
- Displays:Chris is literally Hitler.[a-logging]