A MODX template is basically just a bunch of HTML, optionally containing some MODX tags.
For example, you could take a static page from an old-fashioned site, paste its HTML code into a new MODX template, then create a new, empty resource that used that template. When viewed, that resource would be identical to the original from the other site. This would be a waste of MODX's talents, but it would work.
A minimal MODX template would look something like this:
<html>
<head>
<title>[[*pagetitle]]</title>
</head>
<body>
<h2>[[*longtitle]]</h2>
<div class="content_div">
[[*content]]
</div>
</body>
</html>
The three tags above come from the fields of the resource being viewed. MODX will replace them with the results of the tags.
Here's a slightly more complicated version:
<html>
<head>
<title>[[*pagetitle]]</title>
</head>
<body>
<div class="header_div>
[[$header]]
</div>
[[Wayfinder? &startId=`0`]]
<h2>[[*longtitle]]</h2>
<div class="content_div">
[[*content]]
</div>
<div class="side_bar_div>
[[$sidebar]]
</div>
<div class="footer_div">
[[$footer]]
</div>
</body>
</html>
The three extra $ tags are chunk tags, referring to chunks that would hold the HTML for the header, sidebar, and footer. The Wayfinder tag would produce the site's main menu.
There *are* some templates in the extras repo, though they're interspersed with the template-related utilities so you have page through the results to see them:
https://modx.com/extras/browse/?search=template
Most (many?) of us roll our own templates because if we wanted a pre-existing template, we'd use WordPress and pick one of the zillions of WordPress templates out there. In addition, these days, much of what appears to be the template is really the CSS controlling how the page is rendered.
You probably know this, but for other newbies (I prefer to call them "experts in training"
) who happen by -- If you see a page on the web that you like, type Ctrl-u, or select "View Source" in your browser's menu. You will be looking at the raw HTML of the page, and with a little practice, you can learn to see how the author gets the page to look like it does. In a good browser, you can also click on the links to CSS and JS files and see their content displayed in your browser too.
If there are things on the screen that don't show up in the source, it usually means that they are placed there with JavaScript.
Welcome to MODX