Difference between revisions of "Template:Profile"

From eRepublik Official Wiki
Jump to: navigation, search
m
(removing projects from the list as most of the users don't have it. Adding additional example and category)
 
Line 3: Line 3:
 
<div>
 
<div>
 
<div style="border:1px solid #3399CC; text-align:center; color:#000000; background-color:#FFF; margin-top: 2px; padding: 4px; border-top-right-radius:10px; border-top-left-radius:10px; -moz-border-radius-topleft:10px; -webkit-border-top-left-radius:10px; -moz-border-radius-topright:10px; -webkit-border-top-right-radius:10px; text-align:center;">
 
<div style="border:1px solid #3399CC; text-align:center; color:#000000; background-color:#FFF; margin-top: 2px; padding: 4px; border-top-right-radius:10px; border-top-left-radius:10px; -moz-border-radius-topleft:10px; -webkit-border-top-left-radius:10px; -moz-border-radius-topright:10px; -webkit-border-top-right-radius:10px; text-align:center;">
{{#if:{{{2|}}}|[[File:Icon-{{{2}}}.png|25px]]|}}[[{{{1}}}|{{{1}}}]] · [[User:{{{1}}}|User Page]] · [[User talk:{{{1}}}|User Talk]] · [[User:{{{1}}}/Sandbox|Sandbox]] · [[User:{{{1}}}/Projects|Projects]] · [[User:{{{1}}}/Signature|Signature]] · [[Special:Contributions/{{{1}}}|Contributions]]
+
{{#if:{{{2|}}}|[[File:Icon-{{{2}}}.png|25px]]|}}[[{{{1}}}|{{{1}}}]] · [[User:{{{1}}}|User Page]] · [[User talk:{{{1}}}|User Talk]] · [[User:{{{1}}}/Sandbox|Sandbox]] · [[User:{{{1}}}/Signature|Signature]] · [[Special:Contributions/{{{1}}}|Contributions]]
 
</div></div>
 
</div></div>
 
</div>
 
</div>
</includeonly>
+
</includeonly><noinclude>{{Complex}}
 
+
<pre>
<noinclude>{{Complex}}</noinclude>
+
<noinclude>Profile Template</noinclude>
+
<noinclude>
+
<pre style="width:650px">
+
 
{{Profile|Wiki Name|In game country}}
 
{{Profile|Wiki Name|In game country}}
 
</pre>
 
</pre>
  
Example;
+
Example with country;
 
+
<pre>
 +
{{Profile|Mikhail Alexander|Australia}}</pre>
 
{{Profile|Mikhail Alexander|Australia}}
 
{{Profile|Mikhail Alexander|Australia}}
  
<pre style="width:650px">
+
Example without country;
{{Profile|Mikhail Alexander|Australia}}</pre>
+
<pre>
 +
{{Profile|Andycro}}</pre>
 +
{{Profile|Andycro}}[[Category:Navigation Box Templates]]
  
 +
==Note==
 +
For this template to work properly, wiki username and citizen name have to be the same
 
</noinclude>
 
</noinclude>

Latest revision as of 06:12, 1 April 2020

edit

Complex.png Complex template

The code of this template is really complex, please use your sandbox before editing this template
{{Profile|Wiki Name|In game country}}

Example with country;

{{Profile|Mikhail Alexander|Australia}}


Example without country;

{{Profile|Andycro}}
Andycro's pages

Note

For this template to work properly, wiki username and citizen name have to be the same