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
(fix user link)
 
(4 intermediate revisions by the same user not shown)
Line 13: Line 13:
<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">{{#if:{{{Summary|}}}|{{{Summary}}}
</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:
 
}}{{#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|}}}|<br>''Previous in series: [[{{{Previous in Series}}}]]''}}{{#if:{{{Next in Series|}}}|'''<br>Next in series: [[{{{Next in Series}}}]]'''}}
{{#seo:
|title={{PAGENAME}}{{#if:{{{Subtitle|}}}|: {{{Subtitle}}}}}
|keywords={{#if:{{{Author|}}}|{{#if: {{#show:User:{{{Author}}}|? Full name}}|{{#show:User:{{{Author}}}|?Full name}}  }} }},article,linux{{#if:{{{Keywords|}}}|,{{{Keywords}}}}}
|description={{{Summary|}}}
}}
{{Announce|{{SupportBlurb}}}}{{#cargo_store:
_table=articles
_table=articles
|Subtitle={{{Subtitle|}}}
|Subtitle={{#vardefineecho:subtitle|{{{Subtitle|}}}}}
|Summary={{{Summary|}}}
|Summary={{#vardefineecho:summary|{{{Summary|}}}}}
|Icon={{{Icon|}}}
|Icon={{#vardefineecho:icon|{{{Icon|}}}}}
|Author={{#if:{{{Author|}}}|{{Userify|{{{Author|}}}}}
|Author={{#vardefineecho:author|{{#if:{{{Author|}}}|{{Userify|{{{Author|}}}}}}}}}
|Next_in_Series={{{Next in Series|}}}
|Next_in_Series={{#vardefineecho:next|{{{Next in Series|}}}}}
|Previous_in_Series={{{Previous in Series|}}}
|Previous_in_Series={{#vardefineecho:prev|{{{Previous in Series|}}}}}
|Keywords={{{Keywords|}}}
|Keywords={{#vardefineecho:keywords|{{{Keywords|}}}}}
}}
}}
</includeonly>
</includeonly>

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

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