Difference between revisions of "Template:Infobox News"

From SimsWiki
Jump to: navigation, search
 
Line 1: Line 1:
<table class="infobox plainlinks" style="font-size:90%; text-align: center; align: center;" cellspacing="4">
+
<br clear=all>
<tr><th colspan="2" style="text-align: center;"><big> {{if|test={{{forum_id|}}}|then=[http://www.modthesims2.com/member.php?u={{{forum_id}}}}} {{if|test={{{name|}}}|then={{{name}}}|else={{PAGENAME}} }}{{if|test={{{forum_id|}}}|then=]}}</big></th></tr>{{if
+
{| class=toccolours align=center
  |test={{{photo|}}}
+
|-
  |then=<tr><td colspan="2" style="text-align: center;">[[Image:{{{photo}}}|250px|center]]<small>{{{caption|}}}</small></td></tr>
+
! colspan=2 style="background:#ccf;" | *current page of the project* News
}}{{if
+
|-
  |test={{{alternate_names|}}}
+
| colspan=2 style="font-size: 110%;" align=left |  
  |then=<tr><th>a.k.a.</th><td>{{{alternate_names}}}</td></tr>
+
:* Enter news-text here
}}{{if
+
:* Enter news-text here
  |test={{{website|}}}
+
:* Enter news-text here
  |then=<tr><th>Website</th><td>{{{website}}}</td></tr>
+
|}
}}{{if
+
 
  |test={{{yearbook|}}}
+
Used this template on the TXTM-talk subpages.
  |then=<tr><th>[[Yearbook]]</th><td>{{{yearbook}}}</td></tr>
+
 
}}{{if
+
OK, still don't know how to add the stuff from the boxes of each page to a (still not working) general news-collecting infobox on the TXMT:Talk page...
  |test={{{forum_join|}}}
+
I found out that "|" can either mean "this is code, don't display" or "display this to seperate text" but I'm still unsure how to make sure that it means the one or another version. As long as I can't find a page listing the code-stuff I won't be able to get it working because I don't know what this means at all and the "try and error" method would take ages... completely helpless! [[User:Khaibit|Khaibit]]
  |then=<tr><th>[[Forums|Join date]]</th><td>{{{forum_join}}}</td></tr>
+
}}{{if
+
  |test={{{activity|}}}
+
  |then=<tr><th>Main Skills</th><td>{{{activity}}}</td></tr>
+
}}
+
</table>
+
<includeonly>[[Category:People]]</includeonly>
+

Latest revision as of 22:35, 29 December 2006


*current page of the project* News
  • Enter news-text here
  • Enter news-text here
  • Enter news-text here

Used this template on the TXTM-talk subpages.

OK, still don't know how to add the stuff from the boxes of each page to a (still not working) general news-collecting infobox on the TXMT:Talk page... I found out that "|" can either mean "this is code, don't display" or "display this to seperate text" but I'm still unsure how to make sure that it means the one or another version. As long as I can't find a page listing the code-stuff I won't be able to get it working because I don't know what this means at all and the "try and error" method would take ages... completely helpless! Khaibit

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox