Jayawardene was caught by Nawroz Mangal off the bowling of Hamid Hassan.
The pair took 144 balls to complete the century stand, with Jayawardene scoring the lion's share of runs.
Meanwhile Mahela Jayawardene completed 1,000 World Cup runs.
Jayawardene achieved the milestone when he reached a score of 25 off 36 balls.
DImuth Karunaratne was the batsman dismissed as he edged the Hamid Hassan delivery to the slips.
Kumar Sangakkara was bowled right through the gate off a Hamid Hassan delivery.
Openers Tillakaratne Dilshan and Lahiru Thirimanne were removed for golden ducks.
Afghanistan lost their way after Stanikzai and Shenwari's solid 88-run partnership, losing wickets in tandem.
AFG failed to utilise the batting powerplay, scoring only 10 runs from 5 overs while losing 2 wickets.
Afghanistan lost half of their batting side with 169 runs on board against Sri Lanka in their ICC Cricket World Cup 2015 Pool A fixture at the University Oval in Dunedin on Sunday. The latest casualty for Afghanistan was skipper Mohammad Nabi, who was bowled by Lasith Malinga for a score of 21 off 27...