Difference between pages "Widget:NewsDisplay" and "Test"

(Difference between pages)
 
 
Line 1: Line 1:
<div class="media"><a class="pull-left" href="/User:<!--{$user|escape:'html'}-->"><img class="media-object" src="<!--{$icon_url|escape:'html'}-->" alt="<!--{$user|escape:'html'}-->"></a>
+
{{#gravatar_md5:drobbins@funtoo.org}}
<div class="media-body"><!--{if $format eq 'Short'}-->
+
{{filepath:Awesome.jpg|64}}
<h4 class="media-heading" style="line-height: 18px; font-size: 14px;  font-weight: bold; "><!--{$title|escape:'html'}--></h4>
+
{{filepath:File:Awesome.jpg|128}}
<!--{else}--><!--{$format|escape:'html'}-->
+
{{#Widget:NewsDisplay|user=Drobbins|gravatar_url=http://www.gravatar.com/avatar/7490f23fe709b41d3be4f79549a679f8?s=80&d=retro&r=g|title=This is a news item!| body=
<a href="/News:<!--{$title|escape:'html'}-->"><h4 class="media-heading" style="line-height: 18px; font-size: 14px;  font-weight: bold; "><!--{$title|escape:'html'}--></h4></a><!--{/if}-->
+
blahasl adslfkas flasf lasdfksad lfasdlkf dsalfk dslfkasd lfdsakf als sadlfdsal f}}
<!--{$body|escape:'html'}-->
+
{{#Widget:NewsDisplay|user=Drobbins|gravatar_url=http://www.gravatar.com/avatar/7490f23fe709b41d3be4f79549a679f8?s=80&d=retro&r=g|title=This is a news item!| body=
</div>
+
blahasl adslfkas flasf lasdfksad lfasdlkf dsalfk dslfkasd lfdsakf als sadlfdsal f}}
<div style="float: right; text-align: right; display: inline-block;">
+
 
<span style="color: #888; font-size: 10px;"><!--{$date|escape:'html'}--> by <a href="/User:<!--{$user|escape:'html'}-->"><!--{$user|escape:'html'}--></a></span>
+
== News Items ==
</div>
+
 
</div>
+
{{#ask: [[Category:News]] [[Publication Status::Published]]
 +
| ?Publication Date
 +
| ?News Category
 +
| ?Summary
 +
| ?Author
 +
| ?Gravatar MD5
 +
| ?Icon
 +
| ?News Format
 +
| order=descending
 +
| sort=Publication Date
 +
| format=template
 +
| template=NewsDisplay
 +
| limit=10
 +
| link=none
 +
}}
 +
 
 +
== Other Stuff ==
 +
 
 +
{{Package|sys-apps/portage}}
 +
 
 +
== Badabing ==
 +
 
 +
{{#ask: [[Category:People]]
 +
| limit=20
 +
| order=random
 +
| format=template
 +
| template=GravatarDisplay
 +
| link=none
 +
| searchlabel=
 +
}}
 +
 
 +
== Table test ==
 +
<div class="table-responsive"><table class="table"><tr><td>Hello</td></tr><tr><td>Hello</td></tr><tr><td>Hello</td></tr></table></div>
 +
 
 +
== Testing error on Show ==
 +
 
 +
* {{#show:User:JanZhou|?full name}}
 +
* {{#show:User:Drobbins|?full name}}
 +
 
 +
 
 +
{{DISPLAYTITLE:Bob Boblaw}}
 +
[[Category:Test]]
 +
 
 +
Adding some text
 +
 
 +
== Testing External Data ==
 +
 
 +
 
 +
{{#get_web_data:url=http://auth.funtoo.org:9093/static/members.xml|format=xml|use xpath|data=ircnick=/members/user/ircnick,fullname=/members/user/fullname}}
 +
 
 +
{{#display_external_table:template=MemberDisplay|data=ircnick,fullname}}
 +
 
 +
Daniel Robbins:drobbins:bdfl
 +
 
 +
{{file|name=foobar|lang=python|desc=foobarosity|body=
 +
import system
 +
}}
 +
 
 +
{{file|name=/etc/foo.conf|desc=My foo.conf file|body=
 +
# /etc/host.conf:
 +
# $Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/host.conf,v 1.1 2006/09/29 23:52:23 vapier Exp $
 +
 
 +
# The  file /etc/host.conf contains configuration information specific to
 +
# the resolver library.  It should contain one configuration keyword  per
 +
# line,  followed by appropriate configuration information.  The keywords
 +
# recognized are order, trim, mdns, multi, nospoof, spoof, and reorder.
 +
 
 +
 
 +
 
 +
# This keyword specifies how host lookups are to be performed. It
 +
# should be followed by one or more lookup methods, separated by
 +
# commas.  Valid methods are bind, hosts, and nis.
 +
#
 +
order hosts, bind
 +
 
 +
 
 +
# Valid  values are on and off.  If set to on, the resolv+ library
 +
# will return all valid addresses for a host that appears  in  the
 +
# /etc/hosts  file,  instead  of  only  the first.  This is off by
 +
# default, as it may cause a substantial performance loss at sites
 +
# with large hosts files.
 +
#
 +
multi on
 +
}}

Revision as of 05:48, October 21, 2014

7490f23fe709b41d3be4f79549a679f8 http://www.funtoo.org/images/thumb/c/cf/Awesome.jpg/64px-Awesome.jpg

Drobbins

This is a news item!

blahasl adslfkas flasf lasdfksad lfasdlkf dsalfk dslfkasd lfdsakf als sadlfdsal f
Drobbins

This is a news item!

blahasl adslfkas flasf lasdfksad lfasdlkf dsalfk dslfkasd lfdsakf als sadlfdsal f

News Items

Dantrell

Testing GNOME 3.14

GNOME 3.14 is now available in Funtoo, masked for testing. Help us test it!
22 October 2014 by Dantrell
Drobbins

Boot-update-1.7.0 released, masked for testing

This new version of boot-update contains serial terminal support and lilo fixes.
16 October 2014 by Drobbins

Other Stuff

Portage (Funtoo)

Badabing

User:JhuebelUser:RomikBUser:BarnesUser:BhundvenUser:SandroUser:Twallace51User:ElkyDoriUser:Yann-kaeligUser:HubertBealeUser:LmarciniUser:TuxtorUser:StrowiUser:MantaspUser:DakkUser:DinosaurUser:NunneryUser:AsqardUser:MilesUser:TassietuxUser:Fiordland

Table test

Hello
Hello
Hello

Testing error on Show

  • Daniel Robbins

Adding some text

Testing External Data

Daniel Robbins:drobbins:bdfl

foobar: foobarosity (python source code)
import system
/etc/foo.conf: My foo.conf file
# /etc/host.conf:
# $Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/host.conf,v 1.1 2006/09/29 23:52:23 vapier Exp $

# The  file /etc/host.conf contains configuration information specific to
# the resolver library.  It should contain one configuration keyword  per
# line,  followed by appropriate configuration information.  The keywords
# recognized are order, trim, mdns, multi, nospoof, spoof, and reorder.



# This keyword specifies how host lookups are to be performed. It
# should be followed by one or more lookup methods, separated by
# commas.  Valid methods are bind, hosts, and nis.
#
order hosts, bind


# Valid  values are on and off.  If set to on, the resolv+ library
# will return all valid addresses for a host that appears  in  the
# /etc/hosts  file,  instead  of  only  the first.  This is off by
# default, as it may cause a substantial performance loss at sites
# with large hosts files.
#
multi on