mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Socials: Add gaming services (Steam, Xbox, Playstation, BattleNet)
This commit is contained in:
parent
479f82887f
commit
e85232c6b9
4 changed files with 24 additions and 0 deletions
12
moderncv.cls
12
moderncv.cls
|
|
@ -276,6 +276,10 @@
|
||||||
% - "youtube"
|
% - "youtube"
|
||||||
% - "tiktok"
|
% - "tiktok"
|
||||||
% - "instagram"
|
% - "instagram"
|
||||||
|
% - "steam
|
||||||
|
% - "xbox"
|
||||||
|
% - "playstation"
|
||||||
|
% - "battlenet"
|
||||||
\collectionnew{socials}
|
\collectionnew{socials}
|
||||||
\NewDocumentCommand{\social}{O{}O{}m}{%
|
\NewDocumentCommand{\social}{O{}O{}m}{%
|
||||||
\ifthenelse{\equal{#2}{}}%
|
\ifthenelse{\equal{#2}{}}%
|
||||||
|
|
@ -303,6 +307,10 @@
|
||||||
\ifthenelse{\equal{#1}{youtube}} {\collectionadd[youtube]{socials} {\protect\httpslink[#3]{youtube.com/#3}}} {}%
|
\ifthenelse{\equal{#1}{youtube}} {\collectionadd[youtube]{socials} {\protect\httpslink[#3]{youtube.com/#3}}} {}%
|
||||||
\ifthenelse{\equal{#1}{tiktok}} {\collectionadd[tiktok]{socials} {\protect\httpslink[#3]{tiktok.com/@#3}}} {}%
|
\ifthenelse{\equal{#1}{tiktok}} {\collectionadd[tiktok]{socials} {\protect\httpslink[#3]{tiktok.com/@#3}}} {}%
|
||||||
\ifthenelse{\equal{#1}{instagram}} {\collectionadd[instagram]{socials} {\protect\httpslink[#3]{instagram.com/#3}}} {}%
|
\ifthenelse{\equal{#1}{instagram}} {\collectionadd[instagram]{socials} {\protect\httpslink[#3]{instagram.com/#3}}} {}%
|
||||||
|
\ifthenelse{\equal{#1}{steam}} {\collectionadd[steam]{socials} {\protect\httpslink[#3]{steamcommunity.com/id/#3}}} {}%
|
||||||
|
\ifthenelse{\equal{#1}{xbox}} {\collectionadd[xbox]{socials} {\protect\httpslink[#3]{account.xbox.com/profile?gamertag=#3}}} {}%
|
||||||
|
\ifthenelse{\equal{#1}{playstation}} {\collectionadd[playstation]{socials} {#3}} {}%
|
||||||
|
\ifthenelse{\equal{#1}{battlenet}} {\collectionadd[battlenet]{socials} {#3}} {}%
|
||||||
}
|
}
|
||||||
{\collectionadd[#1]{socials}{\protect\httpslink[#3]{#2}}}}%
|
{\collectionadd[#1]{socials}{\protect\httpslink[#3]{#2}}}}%
|
||||||
|
|
||||||
|
|
@ -363,6 +371,10 @@
|
||||||
\newcommand*{\youtubesocialsymbol} {}
|
\newcommand*{\youtubesocialsymbol} {}
|
||||||
\newcommand*{\tiktoksocialsymbol} {}
|
\newcommand*{\tiktoksocialsymbol} {}
|
||||||
\newcommand*{\instagramsocialsymbol} {}
|
\newcommand*{\instagramsocialsymbol} {}
|
||||||
|
\newcommand*{\steamsocialsymbol} {}
|
||||||
|
\newcommand*{\xboxsocialsymbol} {}
|
||||||
|
\newcommand*{\playstationsocialsymbol} {}
|
||||||
|
\newcommand*{\battlenetsocialsymbol} {}
|
||||||
|
|
||||||
% other
|
% other
|
||||||
%------
|
%------
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,10 @@
|
||||||
\renewcommand*{\youtubesocialsymbol} {{\small\faYoutube}~}
|
\renewcommand*{\youtubesocialsymbol} {{\small\faYoutube}~}
|
||||||
\renewcommand*{\tiktoksocialsymbol} {{\small\faTiktok}~}
|
\renewcommand*{\tiktoksocialsymbol} {{\small\faTiktok}~}
|
||||||
\renewcommand*{\instagramsocialsymbol} {{\small\faInstagram}~}
|
\renewcommand*{\instagramsocialsymbol} {{\small\faInstagram}~}
|
||||||
|
\renewcommand*{\steamsocialsymbol} {{\small\faSteam}~}
|
||||||
|
\renewcommand*{\xboxsocialsymbol} {{\small\faXbox}~}
|
||||||
|
\renewcommand*{\playstationsocialsymbol} {{\small\faPlaystation}~}
|
||||||
|
\renewcommand*{\battlenetsocialsymbol} {{\small\faBattleNet}~}
|
||||||
%\renewcommand*{\signalsocialsymbol} {}
|
%\renewcommand*{\signalsocialsymbol} {}
|
||||||
%\renewcommand*{\matrixsocialsymbol} {}
|
%\renewcommand*{\matrixsocialsymbol} {}
|
||||||
\renewcommand*{\bornsymbol} {{\small\faAsterisk}~} % alternative: \faBabyCarriage
|
\renewcommand*{\bornsymbol} {{\small\faAsterisk}~} % alternative: \faBabyCarriage
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,10 @@
|
||||||
\renewcommand*{\youtubesocialsymbol} {\textbf{yt}~}
|
\renewcommand*{\youtubesocialsymbol} {\textbf{yt}~}
|
||||||
\renewcommand*{\tiktoksocialsymbol} {\textbf{tok}~}
|
\renewcommand*{\tiktoksocialsymbol} {\textbf{tok}~}
|
||||||
\renewcommand*{\instagramsocialsymbol} {\textbf{insta}~}
|
\renewcommand*{\instagramsocialsymbol} {\textbf{insta}~}
|
||||||
|
\renewcommand*{\steamsocialsymbol} {\textbf{st}~}
|
||||||
|
\renewcommand*{\xboxsocialsymbol} {\textbf{xb}~}
|
||||||
|
\renewcommand*{\playstationsocialsymbol} {\textbf{psn}~}
|
||||||
|
\renewcommand*{\battlenetsocialsymbol} {\textbf{bn}~}
|
||||||
|
|
||||||
\renewcommand*{\listitemsymbol} {\labelitemi~}
|
\renewcommand*{\listitemsymbol} {\labelitemi~}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,10 @@
|
||||||
\social[tiktok]{jdoe} % optional, remove / comment the line if not wanted
|
\social[tiktok]{jdoe} % optional, remove / comment the line if not wanted
|
||||||
\social[instagram]{jdoe} % optional, remove / comment the line if not wanted
|
\social[instagram]{jdoe} % optional, remove / comment the line if not wanted
|
||||||
|
|
||||||
|
\social[steam]{jdoe} % optional, remove / comment the line if not wanted
|
||||||
|
\social[xbox]{jdoe} % optional, remove / comment the line if not wanted
|
||||||
|
\social[playstation]{jdoe} % optional, remove / comment the line if not wanted
|
||||||
|
\social[battlenet]{jdoe\#0000} % optional, remove / comment the line if not wanted
|
||||||
|
|
||||||
|
|
||||||
\extrainfo{additional information} % optional, remove / comment the line if not wanted
|
\extrainfo{additional information} % optional, remove / comment the line if not wanted
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue