Note

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
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{#cargo_declare:
_table=articles
|Subtitle=Wikitext
|Summary=Wikitext
|Icon=File
|Author=Page
|Next_in_Series=Page
|Previous_in_Series=Page
|Keywords=List (,) of Text
}}
</noinclude>
<includeonly>{{#if:{{{Subtitle|}}}|<div style="margin-left: 15px;">
<includeonly>{{#if:{{{Subtitle|}}}|<div style="margin-left: 15px;">
==={{{Subtitle|}}}===
==={{{Subtitle|}}}===
</div>}}<div class="container" style="margin-top: 20px;"><div class="row"><div class="col-xs-12 col-md-9">
</div>}}<div class="container" style="margin-top: 20px;"><div class="row"><div class="col-xs-12 col-md-9">{{#if:{{{Summary|}}}|{{{Summary}}}}}{{#widget:AddThis}}
{{#if:{{{Author|}}}|{{#set:Author=User:{{{Author|}}}}}}}{{#set:Gravatar MD5={{#show: User:{{{Author}}} | ?Gravatar MD5}}|Subtitle={{{Subtitle|}}}|Summary={{{Summary|}}}|Icon={{{Icon|}}}|Next in Series={{{Next in Series|}}}|Previous in Series={{{Previous in Series|}}}}}{{#if:{{{Previous in Series|}}}|Previous in series: [[{{{Previous in Series}}}]]}}{{#if:{{{Next in Series|}}}|{{#if:{{{Previous in Series|}}}|<br>}}Next in series: [[{{{Next in Series}}}]]}}
{{Announce|title=Support Funtoo!|body={{SupportBlurb}}}}{{#cargo_store:
 
_table=articles
{{Tip|[[Support Funtoo]] and help us grow! '''Donate $15 per month and get a free SSD-based [[Funtoo Hosting|Funtoo Virtual Container]].'''}}
|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>
</includeonly>

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

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