Difference between revisions of "Termination Portal"

From Termination-Portal.org
Jump to navigationJump to search
Line 30: Line 30:
 
   includepage={News}:text:date:author:caption
 
   includepage={News}:text:date:author:caption
 
   listseparators={| class="wikitable"\n!a\n!b\n!c\n!d\n!e,\n|-\n|[[%PAGE%|%TITLE%]],,\n|}
 
   listseparators={| class="wikitable"\n!a\n!b\n!c\n!d\n!e,\n|-\n|[[%PAGE%|%TITLE%]],,\n|}
   secseparators=A\n|B,C,D\n|E,F,G
+
   secseparators=A\n|B,END OF ROW,D\n|E,F,G
 
</dpl>
 
</dpl>
  

Revision as of 21:34, 26 March 2008

Adding Stuff

Please add yourself to the list of users in the termination community! <createarticle>

type=createarticle
prefix=People:
preload=Template:AddPerson
default=Firstname Lastname
buttonlabel=Create Person
align=left

</createarticle>

Add a news entry! <createarticle>

type=createarticle
prefix=News:
preload=Template:AddNews
default=News Caption
buttonlabel=Create News Entry
align=left

</createarticle>

News

<dpl>

 category=News
 shownamespace=false
 count=10
 ordermethod=lastedit
 order=descending
 mode=userformat
 includepage={News}:text:date:author:caption
 listseparators={| class="wikitable"\n!a\n!b\n!c\n!d\n!e,\n|-\n|%TITLE%,,\n|}
 secseparators=A\n|B,END OF ROW,D\n|E,F,G

</dpl>

http://semeb.com/dpldemo/index.php?title=Format#format

New namespaces have to be added in LocalSettings.php BEFORE the corresponding articles are created!