Jump to content

Template:Featured: Difference between revisions

From TOE-E Archive
Created page with "<noinclude> = Featured Template = Use this to spotlight a branch on the homepage or elsewhere. == Usage == * {{Featured |title=Branch:0.0.3 |abstract=Introduces the first cross-domain integration of physics and cognition. |link=Branch:0.0.3 }} </noinclude> <includeonly> <div style="border:1px solid #ccc; background:#f9f9f9; padding:12px; margin:8px 0; box-shadow:0 1px 4px rgba(0,0,0,.1);"> <b>[[{{{link}}}|{{{title}}}]]</b><br/> <div style="margin-top:4px;">{{{..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
= Featured Template =
= Featured Template =
Use this to spotlight a branch on the homepage or elsewhere.
Used by an SMW #ask query to render one featured branch.
 
Supports BOTH named args (link, abstract) and positional args (1=link, 2=abstract).
== Usage ==
* {{Featured
  |title=Branch:0.0.3
  |abstract=Introduces the first cross-domain integration of physics and cognition.
  |link=Branch:0.0.3
}}
</noinclude>
</noinclude>


<includeonly>
<includeonly>
<div style="border:1px solid #ccc; background:#f9f9f9; padding:12px; margin:8px 0; box-shadow:0 1px 4px rgba(0,0,0,.1);">
<div style="border:1px solid #ccc; background:#f9f9f9; padding:12px; margin:8px 0; box-shadow:0 1px 4px rgba(0,0,0,.1);">
<b>[[{{{link}}}|{{{title}}}]]</b><br/>
  <b>[[{{{link|{{{1}}}}}}|{{#if:{{#titleparts:{{{link|{{{1}}}}}}|-1}}|{{#titleparts:{{{link|{{{1}}}}}}|-1}}|{{{link|{{{1}}}}}}}}]]</b><br/>
<div style="margin-top:4px;">{{{abstract}}}</div>
  <div style="margin-top:4px;">{{{abstract|{{{2|}}}}}}</div>
</div>
</div>
</includeonly>
</includeonly>

Latest revision as of 18:09, 21 August 2025

Featured Template

Used by an SMW #ask query to render one featured branch. Supports BOTH named args (link, abstract) and positional args (1=link, 2=abstract).