注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Template:Article"

From Funtoo
Jump to navigation Jump to search
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
<div class="container" style="margin-top: 20px;"><div class="row"><div class="col-xs-12">
{{#cargo_declare:
= {{PAGENAME}} =
_table=articles
{{#set:Author=User:{{{Author|}}}|Gravatar MD5={{#show: User:{{{Author}}} | ?Gravatar MD5}}}}
|Subtitle=Wikitext
 
|Summary=Wikitext
{{#widget:NewsInfo|body={{{Summary|}}}|user={{{Author|}}}|icon_url={{#if:{{{Icon|}}}|{{filepath:{{#sub:{{{Icon}}}|5}}|80}}|http://www.gravatar.com/avatar/{{#show: User:{{{Author}}} | ?Gravatar MD5}}/?s=80&d=retro&r=g}}}}
|Icon=File
 
|Author=Page
{{#show: User:{{{Author}}} | ?Bio }}
|Next_in_Series=Page
</div></div><div class="row"><div class="col-xs-12"></includeonly>
|Previous_in_Series=Page
|Keywords=List (,) of Text
}}
</noinclude>
<includeonly>{{#if:{{{Subtitle|}}}|<div style="margin-left: 15px;">
==={{{Subtitle|}}}===
</div>}}<div class="container" style="margin-top: 20px;"><div class="row"><div class="col-xs-12 col-md-9">{{#if:{{{Summary|}}}|{{{Summary}}}}}{{#widget:AddThis}}
{{Announce|title=Support Funtoo!|body={{SupportBlurb}}}}{{#cargo_store:
_table=articles
|Subtitle={{#vardefineecho:subtitle|{{{Subtitle|}}}}}
|Summary={{#vardefineecho:summary|{{{Summary|}}}}}
|Icon={{#vardefineecho:icon|{{{Icon|}}}}}
|Author={{#vardefineecho:author|{{#if:{{{Author|}}}|{{Userify|{{{Author|}}}}}}}}}
|Next_in_Series={{#vardefineecho:next|{{{Next in Series|}}}}}
|Previous_in_Series={{#vardefineecho:prev|{{{Previous in Series|}}}}}
|Keywords={{#vardefineecho:keywords|{{{Keywords|}}}}}
}}
</includeonly>

Latest revision as of 20:45, April 6, 2020

此模板定义表格“articles”。 查看表格.