.tpl

3 claimants 1 primary 1 secondary unambiguous primary

SWH popularity

From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.

6.3M
total occurrences
1.0M
since 2019 (16.1%)
1970–2023
years active

Case variants in archive: .tpl (6.3M), .TPL (3.4K), .Tpl (212), .tpL (1) — aggregated above.

Attribution status

This extension is attributed to Smarty; Smarty as primary by 2 authoritative claims.

Authoritative sources: ✓ Linguist ✓ Pygments ✗ Wikidata · no claim △ Wikipedia · secondary

Disagree or have a correction? Open a labelling issue.

Claimants (4)

Languages that list .tpl among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Smartylinguistprimary
Smartypygmentsprimary
Go Templatelinguistsecondary
Panwikipediaproposed

Wikidata says… (15)

File formats, image formats, audio codecs and other non-PL entities that claim .tpl on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
Adobe Tool Preset Q136753455
file format
file formatUse as new PL ↗
ArtCAM Toolpath Template Q105851122
file format
file formatapplication/octet-streamUse as new PL ↗
ArtCAM Toolpath Template (old) Q105851155
file format
file formatapplication/octet-streamUse as new PL ↗

Disambiguation rules (2)

Linguist heuristics that decide, by content, which language a .tpl file actually is.
RulePredictsKindPredicates (truncated)
h/linguist/.tpl/0Go Templatepredicates[{"kind": "any", "regexes": ["\\{\\{-?\\s*(\\`?\\\"\\\\?\\\"?|\\/\\*\\s|\\w*)\\b"]}]
h/linguist/.tpl/1Smartypredicates[{"kind": "any", "regexes": ["(?<!\\{)\\{(\\*\\s|\\$|\\/)?\\w*\\b"]}]

SWH-mined examples (1)

Real archived programs with this extension, byte-verified against the SWH archive. Useful for deciding what this extension actually is when the attribution is uncertain.
manage_students_assignments.tpl · 829 B · seen 310× in SWH
predicted: Go Template via heuristic
swh:1:cnt:90a7139a4437bd76afabbfb58d1d25c0d6211401;origin=https://github.com/jupyter/nbgrader;anchor=swh:1:rev:69b9ae230996bd783dc955348611f4949a4cd93e;path=/nbgrader/server_extensions/formgrader/templates/manage_students_assignments.tpl
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .tpl is, request a fresh mining run.
(or open the pre-filled issue directly)