if its on one stave it will work for both piano & guitar.
the strum pattern - & the start of the stave you will see either a 4 above another 4 meaning there are 4 beats per bar or 3 over 4 meaning 3 beats per bar or something like that. well if a note is to be picked it will be on its own if it is connected to another note it will be picked by a down stroke followed by an upstroke (alternative picking) the timing
so.....
pretend b is a musical note & if ther is a - between to it is a quaver (connected note)
b-b-b-b b b-b
this will be sounded as the strum pattern
1 & 2 & 3 4 &
also if a note has no leg & a hollow dot it lasts 4 notes, if a note has a leg & a hollow dot it lasts 2 notes, if it has a leg & a full dot it last 1 note.
& finally if a note has a dot behind it it increases the value of that note by half.
i hope that helps, i cant really read music well, i just quickly jotted down the few things i know, i hope im right