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">
 
<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;"></th></tr>
+
<tr><th colspan="2" style="text-align: center;"><big> {{if|test={{{name|}}}|then={{{name News}}}|else={{PAGENAME}} }}</big></th></tr>
 
{{if
 
{{if
   |test={{{news|}}}
+
   |test={{{first|}}}
   |then=<tr><th>news</th><td>[[{{{news}}}]]</td></tr>
+
   |then=<tr><th>first</th><td>[[{{{1.}}}]]</td></tr>
 
}}{{if
 
}}{{if
 
   |test={{{news|}}}
 
   |test={{{news|}}}

Revision as of 05:55, 14 December 2006

Infobox News


Usage

{{Infobox Tutorial
| news = 
| news = 
}}


Example

Infobox News

news = news listed text
news = next news listed text

  • copy and paste the news content in the overview section
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox