Difference between revisions of "Template:MFGGer"
From Mario Fan Games Galaxy Wiki
m |
VinnyVideo (talk | contribs) (The Wiki still uses phpBB profiles; this will change someday (ideally, when lumaSMS happens)) |
||
(50 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {| class="nicetable infoboxBordered" style="width: | + | {| class="nicetable infoboxBordered" style="border: 2px solid #aac; width: 200px; float: right; font-size: 90%; text-align: left; margin:3px;" cellpadding="1" |
− | ! class="ibheader" colspan="2" style='text-align: center; vertical-align: middle;' | | + | ! class="ibheader" colspan="2" style='background-color: #145ecc; text-align: center; vertical-align: middle;' | |
<div style='display: table-cell; height: 100%; vertical-align: middle;'> | <div style='display: table-cell; height: 100%; vertical-align: middle;'> | ||
− | {{#if: {{{flag|{{{from|}}}}}} |{{{{{flag|{{{from|Japan}}}}}}|y}}|<includeonly>[[Category:Members with no flag]]</includeonly>}} | + | {{#if: {{{flag|{{{from|}}}}}} |{{{{{flag|{{{from|Japan}}}}}}|y}}|[[Image:Flag zz.gif]]<includeonly>[[Category:Members with no flag]]</includeonly>}} |
− | |||
</div> | </div> | ||
<div style='display: table-cell; width: 100%; vertical-align: middle;'> | <div style='display: table-cell; width: 100%; vertical-align: middle;'> | ||
Line 26: | Line 25: | ||
! style="vertical-align: top;" colspan="2"{{!}}<table width="150px" align="center"><tr><td align="left">{{{badges}}}</td></tr></table> | ! style="vertical-align: top;" colspan="2"{{!}}<table width="150px" align="center"><tr><td align="left">{{{badges}}}</td></tr></table> | ||
{{!}}- | {{!}}- | ||
− | | | + | | |
{{#if: {{{forumid|}}} | | {{#if: {{{forumid|}}} | | ||
! style="vertical-align: top;" colspan="2"{{!}}<table width="150px" align="center"><tr><td align="left">{{#badges:{{{forumid}}}|{{Groupbadges}}|{{Badgeorder}}}}</td></tr></table> | ! style="vertical-align: top;" colspan="2"{{!}}<table width="150px" align="center"><tr><td align="left">{{#badges:{{{forumid}}}|{{Groupbadges}}|{{Badgeorder}}}}</td></tr></table> | ||
Line 32: | Line 31: | ||
| }} | | }} | ||
}} | }} | ||
− | {{#if: {{{othergroups|}}} | | + | {{#if: {{{othergroups|}}} <!-- | |
! class="ibheader" colspan="2" style="font-size: 100%;" {{!}} Other groups | ! class="ibheader" colspan="2" style="font-size: 100%;" {{!}} Other groups | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" align="center" {{!}} {{{othergroups}}} | {{!}} colspan="2" align="center" {{!}} {{{othergroups}}} | ||
{{!}}- | {{!}}- | ||
− | | | + | | --> |
{{#if: {{{forumid|}}} |{{#if: {{#groups:{{{forumid}}}|{{Grouporder}}|ALLBUTFIRST}} | | {{#if: {{{forumid|}}} |{{#if: {{#groups:{{{forumid}}}|{{Grouporder}}|ALLBUTFIRST}} | | ||
! class="ibheader" colspan="2" style="font-size: 100%;" {{!}} Other groups | ! class="ibheader" colspan="2" style="font-size: 100%;" {{!}} Other groups | ||
Line 45: | Line 44: | ||
| }}| }} | | }}| }} | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{altgroups|}}} |! colspan="2" style="font-size: 100%;" {{!}} Former & Other Groups |
{{!}}- | {{!}}- | ||
− | {{!}} colspan="2" align="center" {{!}} {{{ | + | {{!}} colspan="2" align="center" {{!}} {{{altgroups}}} |
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 54: | Line 53: | ||
{{!}}- | {{!}}- | ||
{{#if: {{{othernames|{{{alias|}}}}}} | | {{#if: {{{othernames|{{{alias|}}}}}} | | ||
− | ! valign="top" align="right" width="62px" {{!}} Aliases: | + | ! style="background-color: #145ecc;" valign="top" align="right" width="62px" {{!}} Aliases: |
{{!}} style="table-layout:fixed;"{{!}} {{{othernames|{{{alias}}}}}} | {{!}} style="table-layout:fixed;"{{!}} {{{othernames|{{{alias}}}}}} | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
{{#if: {{{realname|}}} | | {{#if: {{{realname|}}} | | ||
− | ! valign="top" align="right" {{!}} Real name: | + | ! ! style="background-color: #145ecc;" valign="top" align="right" {{!}} Real name: |
{{!}} {{{realname}}} | {{!}} {{{realname}}} | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
{{#if: {{{interests|}}} | | {{#if: {{{interests|}}} | | ||
− | ! valign="top" align="right" {{!}} Interests: | + | ! ! style="background-color: #145ecc;" valign="top" align="right" {{!}} Interests: |
{{!}} {{{interests}}} | {{!}} {{{interests}}} | ||
{{!}}- | {{!}}- | ||
Line 72: | Line 71: | ||
! class="ibheader" colspan="2" style="font-size: 100%;" {{!}} Contact Information | ! class="ibheader" colspan="2" style="font-size: 100%;" {{!}} Contact Information | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="2" {{!}} {{{contactinfo}}} | + | {{!}} style="background-color: #145ecc;" colspan="2" {{!}} {{{contactinfo}}} |
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 78: | Line 77: | ||
{|class="ibheader" width="100%" style="border: 0px;" | {|class="ibheader" width="100%" style="border: 0px;" | ||
|- | |- | ||
− | |{{#if: {{{sitenumber|}}} | [[Image:site_id.png|link= | + | |{{#if: {{{sitenumber|}}} | [[Image:site_id.png|link=https://www.mfgg.net/index.php?act=user¶m=01&uid={{{sitenumber}}}]] | [[Image:site_id_none.png|link=]]<includeonly>[[Category:Members without a main site account]]</includeonly>}} |
− | |{{#if: {{{forumid|}}} | [[Image:forum_id.gif|link= | + | |{{#if: {{{forumid|}}} | [[Image:forum_id.gif|link=https://phpbb.mfgg.net/memberlist.php?mode=viewprofile&u={{{forumid}}}]] | [[Image:forum_id_none.gif|link=]]<includeonly>[[Category:Members without a forum account]]</includeonly>}} |
|} | |} | ||
|} | |} | ||
− | |||
<noinclude>{{high-risk/template}} | <noinclude>{{high-risk/template}} | ||
Line 89: | Line 87: | ||
|title = Fibriel's doing something weird again. | |title = Fibriel's doing something weird again. | ||
|desc = I think it's really silly to put the categorization for country right in the flag templates. I want to have it so you can (if you need to) directly call the flag images with their templates anywhere, without categorizing the page you call them to, so I'm editing all of the templates in question therefore. My method of doing this means temporarily breaking the flag templates and every member page until I finish. Have an admin give me a ring if you want me to stop right away, but I might be done before you even notice I started. -[[User:Fibriel|Fibriel]] 12:51, 6 January 2011 (UTC)}} | |desc = I think it's really silly to put the categorization for country right in the flag templates. I want to have it so you can (if you need to) directly call the flag images with their templates anywhere, without categorizing the page you call them to, so I'm editing all of the templates in question therefore. My method of doing this means temporarily breaking the flag templates and every member page until I finish. Have an admin give me a ring if you want me to stop right away, but I might be done before you even notice I started. -[[User:Fibriel|Fibriel]] 12:51, 6 January 2011 (UTC)}} | ||
+ | |||
{{doc}} | {{doc}} | ||
− | </noinclude><includeonly>[[Category:All members]]</includeonly> | + | [[Category:Information Templates]]</noinclude><includeonly>[[Category:All members]]</includeonly> |
Latest revision as of 02:58, 13 December 2017
MFGGer | |||
---|---|---|---|
|
Template documentation (for the above template, sometimes hidden or invisible)
Contents
Usage
Note: This template may be called with "MFGGer" or "member", but it is case-sensitive.
{{member | name = Their name, defaults to the article name if not given | flag = The full English name of a country, e.g. United States, Japan. (Later, aliases might be available; don't count on it) | image = Path to image | caption = Text below image | alias = Other names used by this member, past or present. Can also use "othernames" (compatibility) | realname = Member's real name. Please check with the member before supplying this information. | interests = Member's interests | contactinfo = Member's contact information | sitenumber = Member id on the main site. | forumid = Member id on the forums. }}
Manual Overrides
There are some overrides in the case that somebody isn't a member on the forums, or that for some reason their badges/groups aren't displaying properly.
| primarygroup = the user's primary group, as displayed on the forum (in word form, i.e. "Member", "Global Moderator", etc.). | altgroups = Former Member Groups, for groups that the MFGGer was previously in, but now is not, as well as the other groups that a user is in (using the {{MemberType}} template). | badges = the badges that a user has (using the {{Badge}} template).
These are only to be used in exceptional cases, where the forum/wiki communication extension isn't performing properly, or where it cannot be used at all.
Particulars
The badge section's width is carefully formatted to have exactly five badges per line. When editing this template, please do not change the width of the badge section.
Visit Template:MFGGer/doc to edit this text! (How does this work?)