Difference between revisions of "Template:MainTemplateModern"
Jump to navigation
Jump to search
| (One intermediate revision by the same user not shown) | |||
| Line 17: | Line 17: | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> | ||
| − | <templatestyles src="MainTemplateModern/styles.css"/> | + | <templatestyles src="MainTemplateModern/styles.css" /> |
| Line 64: | Line 64: | ||
| − | <!-- RIGHT / Image | + | <!-- RIGHT / Image + Tools (optional, both can render) --> |
| − | {{#if:{{{image_content|}}}| | + | {{#if:{{{image_content|}}}{{{show_tools|}}}| |
<aside class="hf-right" role="complementary"> | <aside class="hf-right" role="complementary"> | ||
| − | <div class="hf-card hf-right-card"> | + | {{#if:{{{image_content|}}}| |
| − | {{{image_content|}}} | + | <div class="hf-card hf-right-card"> |
| + | {{{image_content|}}} | ||
| + | </div> | ||
| + | }} | ||
| + | |||
| + | {{#ifeq:{{{show_tools|no}}}|yes| | ||
| + | <div class="hf-card hf-right-card" id="edit-tools"> | ||
| + | {{SectionTemplate | ||
| + | | title = {{{tools_title|Edit Tools}}} | ||
| + | | content = | ||
| + | <div class="hf-chiprow"> | ||
| + | <span class="hf-chip">Body</span> | ||
| + | </div> | ||
| + | <div class="plainlinks"> | ||
| + | {{#ifexist:{{FULLPAGENAME}}/Body | ||
| + | | <ul> | ||
| + | <li>[{{fullurl:{{FULLPAGENAME}}/Body|veaction=edit}} Edit body (VE)]</li> | ||
| + | <li>[{{fullurl:{{FULLPAGENAME}}/Body|action=edit}} Edit body (source)]</li> | ||
| + | <li>[{{fullurl:{{FULLPAGENAME}}/Body|action=history}} Body history]</li> | ||
| + | <li>Last body edit: [[User:{{REVISIONUSER:{{FULLPAGENAME}}/Body}}|{{REVISIONUSER:{{FULLPAGENAME}}/Body}}]] — {{#time:Y-m-d H:i \\U\\T\\C|{{REVISIONTIMESTAMP:{{FULLPAGENAME}}/Body}}}}</li> | ||
| + | </ul> | ||
| + | | <ul> | ||
| + | <li>[{{fullurl:{{FULLPAGENAME}}/Body|action=edit}} Create body]</li> | ||
| + | </ul> | ||
| + | }} | ||
</div> | </div> | ||
| + | }} | ||
| + | </div> | ||
| + | }} | ||
</aside> | </aside> | ||
}} | }} | ||
Latest revision as of 17:08, 23 September 2025
<templatestyles src="MainTemplateModern/styles.css" />
<main class="hf-center" role="main">
</main>