ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

User talk:ATHSE

From ModEnc
Jump to navigation Jump to search

Template:F or Template:Tt

 
 
If you intent to format an INI flag, please use Template:F instead.
 

According to the usage in the Template:Tt, there is actually no need to replace
{{f|Locomotor|{4A582744-9839-11d1-B709-00A024DDAFD1}|link}} (Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}) with
<tt>Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}</tt>     (Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}).
If you just want to unlink, you can simply remove the |link at the end, like this:
{{f|Locomotor|{4A582744-9839-11d1-B709-00A024DDAFD1} }}         (Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1})

  • The space here(D1} }}) exists to separate the closing } of clsid from the wiki template's }}

Personally, I prefer to regard Template:F as an extended version of Template:Tt, as it conveniently allows adding key=value formats and toggling link inclusion. :)

  • Of course, even so, when choosing between Template:F and Template:Tt, it is still necessary to distinguish based on whether the content is a Flag or regular Text.
DeathFish (talk) 15:22, 12 April 2025 (UTC)

I replaced it because we already had loco links on the page, and honestly there's no sense in every possible word being a link.

I also try to keep links far enough apart that they are obviously leading to different pages, too often I see adjacent links that are hard to distinguish.

Also I know the template tt works, but I'm crossposting from modenc2 where it doesn't, and the html tt works in both cases.

I use tt when I'm referring to a keyword but don't want it to be a link, just as an idea or point of reference, and f|link when I do a key/value pair.

Hope that clarifies my thinking?

ATHSE (talk) 18:31, 12 April 2025 (UTC)

I also agree with avoiding overly dense link formats.
I simply meant that for flags, the common practice should be to use Template:F's {{f|key(|value)(|link)}} notation.

Of course, you can choose whichever method is more convenient for you - this is just a Tip.

but I'm crossposting from modenc2 where it doesn't

Additionally, in fact, all three current wikis support Template:Tt. Did you perhaps mean Template:F? I believe the support for it should be treated as a pending issue rather than avoiding its use altogether.

Of course, the <tt> tag directly supported by MediaWiki has the best compatibility.

DeathFish (talk) 19:00, 12 April 2025 (UTC)