Template:In/sandbox: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Kestrelguy (talk | contribs)  (just messin' around.) | Thunder4ik (talk | contribs)  m (→top: clean up, replaced: {{Documentation}} → {{doc}}) | ||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| <onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
| --><span style="color:{{{{{1}}}|col}}; background-color: #202020; font-weight:bold; padding: 2px; {{border-radius|4px}}; white-space:nowrap"><!-- | --><span style="color:{{#ifexist: {{<!-- | ||
| -->({{trim| {{{text|in}}} {{{ | removing braces so when we put them back in, there's only one set | ||
| --></span><!-- | this is the *second* level of replacement-->{{#replace: {{))}}|<!-- {{))}} and {{((}} return }} and {{ | ||
| this is the first level of replacement, which the second level searches-->{{#replace: {{((}}|{{{1}}}|}}|}}}}<!--last pair of braces closes the template we're constructing | |||
| if the resulting template exists-->|{{{{#replace: {{))}}|{{#replace: {{((}}|{{{1}}}|}}|}}|col}}<!-- …just call the same replacement as before, but now with color | |||
| otherwise, resort to Game color-->|{{game color|{{{1}}}}} }}<!-- space and last two braces are finally closing ifexist | |||
| -->; background-color: #202020; font-weight:bold; padding: 2px; {{border-radius|4px}}; white-space:nowrap"><!-- | |||
| -->({{trim| {{{text|in}}} <!-- | |||
| going through the same shenanigans as color-->{{{{#replace: {{))}}|{{#replace: {{((}}|{{{1}}}|}}|}}|col}}<!-- | |||
| it's finally over--> {{{suffix|}}} }})</span><!-- | |||
| --></includeonly></onlyinclude> | --></includeonly></onlyinclude> | ||
| {{ | {{doc}} | ||
























 Available doc translations
 Available doc translations  
  
  
  
 