Difference between revisions of "Template:FileContentTemplate"

m
fix formatting
m
m (fix formatting)
Line 2: Line 2:
{{Template}}
{{Template}}
<pre>{{FileContentTemplate|Filename|Content}}</pre>
<pre>{{FileContentTemplate|Filename|Content}}</pre>
{{FileContentTemplate|1=Filename|2=Content|3=black|4=white|5=lightgrey|6=lightgrey}}
{{FileContentTemplate|
</noinclude><includeonly><div style="color:{{{3}}};background-color:{{{4}}};border:1px solid {{{6}}};border-left:4px solid {{{5}}};border-bottom:0.5px dashed {{{6}}};border-top-left-radius:5px;border-top-right-radius:5px;padding:5px;padding-left:10px;font-family:monospace;font-size:12px;"> {{{1}}}</div><div style="color:{{{3}}};background-color:{{{4}}};border:1px solid {{{6}}};border-left:4px solid {{{5}}};border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;padding:5px;padding-top:0;font-family:monospace;font-size:12px;"> {{{2}}}</div></includeonly>
1=Filename|
2=Line1=test
Lin22
Line3|
3=black|
4=white|
5=lightgrey|
6=lightgrey}}
</noinclude><includeonly><div style="color:{{{3}}};background-color:{{{4}}};border:1px solid {{{6}}};border-left:4px solid {{{5}}};border-bottom:0.5px dashed {{{6}}};border-top-left-radius:5px;border-top-right-radius:5px;padding:5px;padding-left:10px;font-family:monospace;font-size:12px;">{{{1}}}</div><div style="color:{{{3}}};background-color:{{{4}}};border:1px solid {{{6}}};border-left:4px solid {{{5}}};border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;padding:5px;font-family:monospace;font-size:12px;">{{{2}}}</div></includeonly>
Moderators, translator
455

edits