Template:ArticleTeaser

From eqqon

(Difference between revisions)
Jump to: navigation, search
 
(6 intermediate revisions not shown)
Line 1: Line 1:
-
<div border-bottom:1px #e0e0e0 solid;">
+
<div style="border-bottom:1px #e0e0e0 solid; padding-bottom:6px; margin-bottom:6px;">
-
   <div style="float:left; vertical-align:top; width:45px;">{{{iconlink|[[Image:Crystal Clear action run.png|left|40px]]}}}</div>
+
   <div style="float:left; vertical-align:top; margin-right:15px;">{{{iconlink|[[Image:Crystal Clear action run.png|left|40px]]}}}</div>
-
   <div style="vertical-align:top;">
+
   <div style="margin-left:70px; vertical-align:top;">&nbsp;
-
;{{{pagelink}}}{{#if:{{{headline|}}}|&nbsp;&nbsp;-&nbsp;&nbsp;{{{headline|}}}|}}
+
    <div style="float:right;">{{#if:{{{author|}}}|Author:&nbsp;{{{author|}}}|}}</div>
-
{{#if:{{{author|}}}|<p style="text-align:right;">Author:&nbsp;{{{author|}}}</p>|}}
+
    <div style="float:left;">'''{{{pagelink}}}'''{{#if:{{{headline|}}}|&nbsp;&nbsp;-&nbsp;&nbsp;{{{headline|}}}|}}</div>
 +
    <div style="margin-top:0.5em;">{{{intro}}}{{#if:{{{intro|}}}|&nbsp;&nbsp;&nbsp;<small>Read {{{pagelink|}}} ...</small>|}}</div>
   </div>
   </div>
-
  <div style="display:table-cell; vertical-align:top;">
+
</div><noinclude>
-
:{{{intro|}}}{{#if:{{{intro|}}}|&nbsp;&nbsp;&nbsp;<small>Read {{{pagelink|}}} ...</small>|}}
+
-
  </div>
+
-
</div>
+
-
 
+
-
 
+
-
<div style="display:inline-table; border-bottom:1px #f0f0f0 solid;">
+
-
  <div style="display:table-row;">
+
-
    <div style="display:table-cell; vertical-align:top; width:40px;">{{{iconlink|[[Image:Crystal Clear action run.png|left|40px]]}}}</div>
+
-
    <div style="display:table-cell; margin-left:6px; vertical-align:top;">
+
-
      <div style="display:table-row;">
+
-
        <div style="display:table-cell; vertical-align:top;">
+
-
;{{{pagelink}}}{{#if:{{{headline|}}}|&nbsp;&nbsp;-&nbsp;&nbsp;{{{headline|}}}|}}
+
-
        </div>
+
-
        <div style="display:table-cell; vertical-align:top;">{{#if:{{{author|}}}|<p style="text-align:right;">Author:&nbsp;{{{author|}}}</p>|}}</div>
+
-
      </div>
+
-
      <div style="display:table-row;">
+
-
        <div style="display:table-cell; vertical-align:top;">
+
-
:{{{intro|}}}{{#if:{{{intro|}}}|&nbsp;&nbsp;&nbsp;<small>Read {{{pagelink|}}} ...</small>|}}
+
-
        </div>
+
-
      </div>
+
-
    </div>
+
-
  </div>
+
-
</div>
+
-
 
+
-
{| style="background-color:transparent; border-bottom:1px #e0e0e0 solid;"
+
-
|------------
+
-
| rowspan=2; style="vertical-align:top; width:40px;"|
+
-
{{{iconlink|[[Image:Crystal Clear action run.png|left|40px]]}}}
+
-
||
+
-
;{{{pagelink}}}{{#if:{{{headline|}}}|&nbsp;&nbsp;-&nbsp;&nbsp;{{{headline|}}}|}}
+
-
||
+
-
{{#if:{{{author|}}}|<p style="text-align:right;">Author:&nbsp;{{{author|}}}</p>|}}
+
-
|------------
+
-
| colspan=2;|
+
-
:{{{intro|}}}{{#if:{{{intro|}}}|&nbsp;&nbsp;&nbsp;<small>Read {{{pagelink|}}} ...</small>|}}
+
-
|}<noinclude>
+
;Usage
;Usage
<nowiki>{{ArticleTeaser
<nowiki>{{ArticleTeaser

Latest revision as of 09:53, 23 June 2010

Crystal Clear action run.png
 
{{{pagelink}}}
{{{intro}}}
Usage

{{ArticleTeaser |pagelink=[[Main Page]] |iconlink=http://www.eqqon.com/images/thumb/d/df/CSharp.jpg/32px-CSharp.jpg |headline=the highlight |intro=short intro text covering the essence of the article |author=Wolfgang Zelenka }}

Example
32px-CSharp.jpg
 
Author: Wolfgang Zelenka
C# Articles  -  all C# user articles
C# is very powerful while still remaining amazingly fast. But the language alone is not as effective as using it together with the Visual Studio IDE. The resulting developer performance is unbelievably high. Never before have software developers been more productive.   Read C# Articles ...


32px-CSharp.jpg
 
Author: Wolfgang Zelenka
C# Articles  -  all C# user articles
C# is very powerful while still remaining amazingly fast. But the language alone is not as effective as using it together with the Visual Studio IDE. The resulting developer performance is unbelievably high. Never before have software developers been more productive.   Read C# Articles ...