Difference between revisions of "Template:BuildModeTutorialsIndexItem"

From SimsWiki
Jump to: navigation, search
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|style="vertical-align:top;text-align:left;border-bottom:1px solid #ccc;width:100%;"
+
|-
|style="width:150px;" | {{if
+
| style="vertical-align:top;width:150px;border-bottom:1px solid #ccc;" | {{if
 
   |test={{{thumbnail|}}}
 
   |test={{{thumbnail|}}}
 
   |then={{{thumbnail}}}
 
   |then={{{thumbnail}}}
 
}}
 
}}
|style="vertical-align:top;padding-left:0.6em;" | [{{{link}}} {{{linktext}}}]<br>
+
| style="vertical-align:top;padding:0.6em 1em;margin:0;border-bottom:1px solid #ccc;" |  
 +
[{{{link}}} {{{linktext}}}]<br>
 
{{if
 
{{if
 
   |test={{{infotext|}}}
 
   |test={{{infotext|}}}
 
   |then={{{infotext}}}
 
   |then={{{infotext}}}
 
}}
 
}}
|style="vertical-align:top;padding-left:1.6em;font-size:80%;" | by {{{author}}}
+
| style="vertical-align:top;padding:0.6em 0em;margin:0;width:15%;border-bottom:1px solid #ccc;" | by [[:Category:Tutorials by {{{author}}} | {{{author}}}]]<br>
|}
+
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==
Line 34: Line 34:
  
 
* copy and paste the '''usage popup''' content in the Usage section
 
* copy and paste the '''usage popup''' content in the Usage section
* Note that the Author link must use the format <nowiki>[[:Category:Tutorials by NAME]]</nowiki>.  This links to a list of all tutorials by this author.  Note the ''':''' before Category.  This makes it a Wikilink rather than a category tag.
+
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:14, 27 May 2008

|- | style="vertical-align:top;width:150px;border-bottom:1px solid #ccc;" | | style="vertical-align:top;padding:0.6em 1em;margin:0;border-bottom:1px solid #ccc;" | [{{{link}}} {{{linktext}}}]

| style="vertical-align:top;padding:0.6em 0em;margin:0;width:15%;border-bottom:1px solid #ccc;" | by [[:Category:Tutorials by {{{author}}} | {{{author}}}]]

[edit] Usage

{{BuildModeTutorialsIndexItem
| thumbnail = 
| link = 
| linktext = 
| infotext = 
| author = 
}}

[edit] Example

thumbnail = image url optional
link = http://www.modthesims2.com/showthread.php?t=103896
linktext = Neighbourhood terrain levelling
infotext = How to use empty lots to level terrain optional
author = AuthorName


  • copy and paste the usage popup content in the Usage section


Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox