Difference between revisions of "Template:Infobox News"

From SimsWiki
Jump to: navigation, search
Line 1: Line 1:
<table class="infobox" style="width: 1000px; font-size:110%; margin-center: 4px; text-align: left; align: left; border: 1px solid" cellspacing="4">
 
<tr><th colspan="2" style="text-align: center;"><big> {{if|test={{{name|}}}|then={{{name News}}}|else={{PAGENAME}} }}</big></th></tr>
 
<table>
 
{{if
 
  |test={{{first|}}}
 
  |then=<tr><th>news-text</th></td></tr>
 
}}{{if
 
  |test={{{second|}}}
 
  |then=<tr><th>news-text</th><td></tr>
 
}}
 
</table>
 
Test-patul : <ncl>Category:Build Mode Stealth Stairs Tutorials</ncl>
 
  
 
<noinclude>
 
== Usage ==
 
{| style="background: transparent;"
 
|<pre>{{Infobox News
 
| news =
 
| news2 =
 
}}
 
</pre>
 
|}
 
 
 
== Example ==
 
Infobox News<br>
 
<br>
 
news = news listed            ''text''
 
<br>
 
news = next news listed            ''text''
 
<br>
 
 
* copy and paste the '''news''' content in the overview section
 
</noinclude>
 
 
 
Can please someone who understands this stuff adjust this page? If possible that news can be added in a "news flash" box as a list. If it doesn't work like that delete this page and please suggest something better working to me ([[http://www.sims2wiki.info/Talk:TXMT TXMT Talk]] where this infobox is required :D Thanks in advance, [[User:Khaibit|Khaibit]]
 

Revision as of 16:14, 29 December 2006

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox