Template:E2/formatted

From Gineipaedia, the Legend of Galactic Heroes wiki

(Difference between revisions)
Jump to: navigation, search
m (no expensive parser functions)
 
(2 intermediate revisions not shown)
Line 6: Line 6:
<includeonly>
<includeonly>
-
{{exists|Template:Titles/{{uc:{{{2|LOGH}}}}}/{{{1}}}|
+
{{exists|Template:Titles/{{uc:{{{2|LOGH}}}}}/{{{1|ERROR}}}|
then=
then=
-
{{Titles/{{uc:{{{2|LOGH}}}}}/{{{1}}}}}  
+
{{Titles/{{uc:{{{2|LOGH}}}}}/{{{1|ERROR}}}}}  
(
(
{{#switch: {{uc:{{{2|LOGH}}}}}
{{#switch: {{uc:{{{2|LOGH}}}}}
Line 14: Line 14:
| HBSHBL =
| HBSHBL =
| SL =
| SL =
 +
                        | DNT =
| #default = {{uc:{{{2|}}}}}&amp;#32;
| #default = {{uc:{{{2|}}}}}&amp;#32;
}}
}}
Line 19: Line 20:
)
)
|else=
|else=
-
{{{1}}}  
+
{{{1|ERROR}}}  
(
(
{{#switch: {{uc:{{{2|LOGH}}}}}
{{#switch: {{uc:{{{2|LOGH}}}}}
Line 25: Line 26:
| HBSHBL =
| HBSHBL =
| SL =
| SL =
 +
                        | DNT =
| #default = {{uc:{{{2|}}}}}&amp;#32;
| #default = {{uc:{{{2|}}}}}&amp;#32;
}}
}}
Line 34: Line 36:
</pre>
</pre>
-
[[Category:Formatted template code]]
+
[[Category:Formatted template code|{{PAGENAME}}]]

Latest revision as of 12:48, 1 April 2018

The text below is a formatted version of the code for {{e2}}. This formatted code should allow for easier changes when the template needs to be modified.

Please do not copy this code back into the main template page without first stripping it of its formatting. This can be done in a regexp-supporting text editor (such as Textmate or Sublime Text) by replacing the following regular expression by an empty string: [\t\n]

<includeonly>

{{exists|Template:Titles/{{uc:{{{2|LOGH}}}}}/{{{1|ERROR}}}|
then=
	{{Titles/{{uc:{{{2|LOGH}}}}}/{{{1|ERROR}}}}} 
	(
		{{#switch: {{uc:{{{2|LOGH}}}}}
			| LOGH		=
			| HBSHBL	=
			| SL		=
                        | DNT		=
			| #default	= {{uc:{{{2|}}}}}&#32;
		}}
		episode
	)
|else=
	{{{1|ERROR}}} 
	(
		{{#switch: {{uc:{{{2|LOGH}}}}}
			| LOGH		=
			| HBSHBL	=
			| SL		=
                        | DNT		=
			| #default	= {{uc:{{{2|}}}}}&#32;
		}}
		episode
	)
}}

</includeonly><noinclude>{{documentation}}[[Category:Citation templates]]</noinclude>
Personal tools
Namespaces
Variants
Actions
Miscellany
Common
Tool box