Difference between revisions of "Template:Trainline"

From Pandorabox
Jump to navigation Jump to search
(Created page with "<includeonly> <span style="background-color:{{{color}}}; border-radius: 3px; padding: 3px;">{{{name}}}</span> </includeonly> <noinclude> {{Trainline |name=XY123 |color=red }}...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>[[Trainline:{{{name}}}|<span style="background-color:{{{color}}}; border-radius: 3px; padding: 3px; color: black;">{{{name}}}</span>]]</includeonly><noinclude>
<span style="background-color:{{{color}}}; border-radius: 3px; padding: 3px;">{{{name}}}</span>
+
My text {{Trainline
</includeonly>
 
 
 
<noinclude>
 
{{Trainline
 
 
|name=XY123
 
|name=XY123
|color=red
+
|color=green
}}
+
}} inline
  
 
=== Include example ===
 
=== Include example ===
Line 13: Line 9:
 
{{Trainline
 
{{Trainline
 
|name=XY123
 
|name=XY123
|color=red
+
|color=green
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 20:53, 27 May 2019

My text XY123 inline

Include example

{{Trainline
|name=XY123
|color=green
}}